@pisell/private-materials 3.4.91 → 3.4.93

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 (700) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.css +1 -1
  7. package/build/lowcode/preview.js +426 -154
  8. package/build/lowcode/render/default/view.css +1 -1
  9. package/build/lowcode/render/default/view.js +18 -11
  10. package/build/lowcode/view.css +1 -1
  11. package/build/lowcode/view.js +28 -21
  12. package/es/businessModel/SalesModel/index.d.ts +2 -2
  13. package/es/components/Sales/index.d.ts +1 -1
  14. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -2
  15. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -2
  16. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -2
  17. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -2
  18. package/es/components/appointmentBooking/components/Deposit/index.d.ts +2 -3
  19. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -2
  20. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -2
  21. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -2
  22. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -2
  23. package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -2
  24. package/es/components/appointmentBooking/context.d.ts +2 -2
  25. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -2
  26. package/es/components/appointmentBooking/deposit/index.d.ts +1 -2
  27. package/es/components/appointmentBooking/index.d.ts +1 -2
  28. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +22 -6
  29. package/es/components/authentication/admin/ChannelAuthSetting/index.js +1 -1
  30. package/es/components/booking/components/TabProduct/index.d.ts +2 -2
  31. package/es/components/booking/components/TabProduct/productItem/index.d.ts +2 -2
  32. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -2
  33. package/es/components/booking/components/authWrap/index.d.ts +1 -1
  34. package/es/components/booking/components/browserSelect/index.d.ts +1 -1
  35. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -2
  36. package/es/components/booking/components/drawer/index.d.ts +1 -1
  37. package/es/components/booking/components/emptyBooking/index.d.ts +1 -2
  38. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -2
  39. package/es/components/booking/components/footer/index.d.ts +1 -2
  40. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -2
  41. package/es/components/booking/components/menuButton/index.d.ts +1 -1
  42. package/es/components/booking/components/voucher/index.d.ts +1 -2
  43. package/es/components/booking/dashboard/index.d.ts +1 -1
  44. package/es/components/booking/deposit/ClientItem/index.d.ts +1 -1
  45. package/es/components/booking/deposit/DepositItem/index.d.ts +1 -1
  46. package/es/components/booking/deposit/index.d.ts +2 -2
  47. package/es/components/booking/forms/footer.d.ts +1 -2
  48. package/es/components/booking/forms/single/index.d.ts +2 -2
  49. package/es/components/booking/forms/table/index.d.ts +1 -2
  50. package/es/components/booking/hooks/useClearCart.d.ts +1 -2
  51. package/es/components/booking/hooks/useQuotation.d.ts +1 -2
  52. package/es/components/booking/info/addServiceVariant/index.d.ts +2 -2
  53. package/es/components/booking/info/client/index.d.ts +1 -1
  54. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +2 -2
  55. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  56. package/es/components/booking/info/date/index.d.ts +2 -2
  57. package/es/components/booking/info/dateRange/index.d.ts +1 -2
  58. package/es/components/booking/info/header/index.d.ts +1 -2
  59. package/es/components/booking/info/hooks/useGetHolderList.d.ts +1 -1
  60. package/es/components/booking/info/hooks/useInfoHolder.d.ts +3 -2
  61. package/es/components/booking/info/index.d.ts +2 -2
  62. package/es/components/booking/info/notes/index.d.ts +2 -2
  63. package/es/components/booking/info/pet/index.d.ts +1 -1
  64. package/es/components/booking/info/service/Lists.d.ts +2 -2
  65. package/es/components/booking/info/service/actions/index.d.ts +2 -2
  66. package/es/components/booking/info/service/addService/index.d.ts +2 -2
  67. package/es/components/booking/info/service/addTimeModal/index.d.ts +2 -2
  68. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -2
  69. package/es/components/booking/info/service/index.d.ts +1 -1
  70. package/es/components/booking/info/service/like/index.d.ts +1 -2
  71. package/es/components/booking/info/service/serviceItem/index.d.ts +1 -2
  72. package/es/components/booking/info/service/serviceList/index.d.ts +2 -2
  73. package/es/components/booking/info/service2/Lists.d.ts +2 -2
  74. package/es/components/booking/info/service2/index.d.ts +1 -1
  75. package/es/components/booking/info2/service/actions/index.d.ts +2 -2
  76. package/es/components/booking/info2/service/addService/index.d.ts +1 -2
  77. package/es/components/booking/info2/service/addTimeModal/index.d.ts +2 -2
  78. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -2
  79. package/es/components/booking/info2/service/index.d.ts +1 -1
  80. package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -2
  81. package/es/components/booking/info2/service/serviceList/index.d.ts +2 -2
  82. package/es/components/booking/materiels/contacts/index.d.ts +1 -2
  83. package/es/components/booking/materiels/duration/index.d.ts +2 -2
  84. package/es/components/booking/materiels/holder/index.d.ts +2 -2
  85. package/es/components/booking/materiels/startTime/index.d.ts +2 -2
  86. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -2
  87. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -2
  88. package/es/components/booking/notes/addNote/index.d.ts +1 -2
  89. package/es/components/booking/utils.d.ts +2 -2
  90. package/es/components/ecocup/components/AddCustomerModal/index.d.ts +1 -2
  91. package/es/components/ecocup/components/CupActionList/index.d.ts +1 -2
  92. package/es/components/ecocup/components/CupActionModal/hooks.d.ts +1 -1
  93. package/es/components/ecocup/components/CupActionModal/index.d.ts +1 -2
  94. package/es/components/ecocup/components/CupInfoCard/index.d.ts +1 -2
  95. package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +2 -2
  96. package/es/components/ecocup/components/CupStatusModal/index.d.ts +1 -2
  97. package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +2 -2
  98. package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -5
  99. package/es/components/ecocup/components/CustomerCard/index.d.ts +1 -2
  100. package/es/components/ecocup/components/MoreDropdown/index.d.ts +1 -2
  101. package/es/components/ecocup/components/PageHeader/index.d.ts +1 -1
  102. package/es/components/ecocup/components/SearchBar/index.d.ts +1 -2
  103. package/es/components/ecocup/components/SettingModal/index.d.ts +1 -2
  104. package/es/components/ecocup/cupList/hooks/useColumns.d.ts +1 -2
  105. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +1 -2
  106. package/es/components/ecocup/cupList/index.d.ts +1 -2
  107. package/es/components/ecocup/cupProject/index.d.ts +2 -2
  108. package/es/components/ecocup/customerList/index.d.ts +2 -2
  109. package/es/components/eftpos/device.d.ts +1 -1
  110. package/es/components/eftpos/deviceList/index.d.ts +1 -2
  111. package/es/components/eftpos/form/index.d.ts +1 -2
  112. package/es/components/eftpos/group/index.d.ts +2 -3
  113. package/es/components/eftpos/icon/apiKey.d.ts +1 -2
  114. package/es/components/eftpos/icon/device.d.ts +1 -2
  115. package/es/components/eftpos/index.d.ts +1 -2
  116. package/es/components/eftpos/log.d.ts +2 -2
  117. package/es/components/eftpos/pos.d.ts +1 -2
  118. package/es/components/eftpos/receipt/index.d.ts +1 -2
  119. package/es/components/eftpos/surcharge/index.d.ts +1 -2
  120. package/es/components/eftposPay/amount.d.ts +3 -3
  121. package/es/components/eftposPay/amount.js +15 -1
  122. package/es/components/eftposPay/app.d.ts +3 -3
  123. package/es/components/eftposPay/app.js +2 -1
  124. package/es/components/eftposPay/component/alert/index.d.ts +1 -1
  125. package/es/components/eftposPay/component/alert/warn.d.ts +1 -2
  126. package/es/components/eftposPay/component/fail/failCustom.d.ts +2 -2
  127. package/es/components/eftposPay/component/fail/failCustom.js +12 -4
  128. package/es/components/eftposPay/component/fail/index.d.ts +1 -2
  129. package/es/components/eftposPay/component/fail/index.js +12 -5
  130. package/es/components/eftposPay/component/fail/network.d.ts +1 -2
  131. package/es/components/eftposPay/component/fail/network.js +3 -0
  132. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -2
  133. package/es/components/eftposPay/component/fail/unknow.js +8 -0
  134. package/es/components/eftposPay/component/header/index.d.ts +1 -1
  135. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -2
  136. package/es/components/eftposPay/component/manual/index.d.ts +1 -2
  137. package/es/components/eftposPay/component/manual/index.js +13 -1
  138. package/es/components/eftposPay/component/signature/index.d.ts +1 -2
  139. package/es/components/eftposPay/component/signature/index.js +3 -0
  140. package/es/components/eftposPay/component/step/index.d.ts +1 -2
  141. package/es/components/eftposPay/component/step/step.d.ts +1 -2
  142. package/es/components/eftposPay/device.d.ts +3 -3
  143. package/es/components/eftposPay/device.js +33 -22
  144. package/es/components/eftposPay/hooks.d.ts +1 -1
  145. package/es/components/eftposPay/index.d.ts +2 -2
  146. package/es/components/eftposPay/index.js +48 -11
  147. package/es/components/eftposPay/linkly/hooks/normal.js +21 -68
  148. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +20 -81
  149. package/es/components/eftposPay/linkly/index.d.ts +2 -2
  150. package/es/components/eftposPay/linkly/index.js +10 -23
  151. package/es/components/eftposPay/pay.d.ts +2 -2
  152. package/es/components/eftposPay/pay.js +14 -7
  153. package/es/components/eftposPay/payo/config.d.ts +2 -3
  154. package/es/components/eftposPay/payo/config.js +38 -5
  155. package/es/components/eftposPay/payo/hooks.js +3 -12
  156. package/es/components/eftposPay/payo/index.d.ts +1 -1
  157. package/es/components/eftposPay/payo/payment.js +69 -136
  158. package/es/components/eftposPay/store/index.d.ts +3 -3
  159. package/es/components/eftposPay/tip.d.ts +1 -2
  160. package/es/components/eftposPay/tip.js +5 -0
  161. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  162. package/es/components/eftposPay/tyro/index.d.ts +1 -1
  163. package/es/components/eftposPay/tyro/index.js +44 -11
  164. package/es/components/eftposPay/utils/payLog.d.ts +81 -0
  165. package/es/components/eftposPay/utils/payLog.js +430 -0
  166. package/es/components/eftposPay/windcave/receiptAction.d.ts +2 -3
  167. package/es/components/eftposPay/windcave/receiptAction.js +5 -0
  168. package/es/components/eftposPay/windcave/windcave.d.ts +1 -2
  169. package/es/components/eftposPay/windcave/windcave.js +28 -29
  170. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -1
  171. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -2
  172. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -2
  173. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -2
  174. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -2
  175. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -2
  176. package/es/components/eventBooking/components/Provider/Content/index.d.ts +2 -2
  177. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -2
  178. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -2
  179. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -2
  180. package/es/components/eventBooking/components/Provider/Header/index.d.ts +2 -2
  181. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -2
  182. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -2
  183. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -2
  184. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -2
  185. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -2
  186. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +2 -2
  187. package/es/components/eventBooking/components/Voucher/index.d.ts +1 -2
  188. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -2
  189. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -1
  190. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -1
  191. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -1
  192. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -2
  193. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -2
  194. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -2
  195. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -2
  196. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +2 -2
  197. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +2 -2
  198. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -2
  199. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -2
  200. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -2
  201. package/es/components/eventBooking/index.d.ts +2 -2
  202. package/es/components/kioskSkuDetail/index.d.ts +1 -1
  203. package/es/components/login/index.d.ts +1 -2
  204. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -1
  205. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -2
  206. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -2
  207. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -1
  208. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -2
  209. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -2
  210. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +2 -2
  211. package/es/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
  212. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +1 -3
  213. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -2
  214. package/es/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
  215. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -2
  216. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -2
  217. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -2
  218. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +2 -2
  219. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -2
  220. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +2 -2
  221. package/es/components/pisellSelectCustomerModal/index.d.ts +1 -2
  222. package/es/components/productExtension/fields/Actor/index.d.ts +2 -2
  223. package/es/components/productExtension/fields/Forms/index.d.ts +2 -2
  224. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +2 -2
  225. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -2
  226. package/es/components/productExtension/fields/SelectProducts/index.d.ts +2 -2
  227. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +2 -2
  228. package/es/components/productExtension/index.d.ts +2 -2
  229. package/es/components/productSelect/components/TabProduct/index.d.ts +1 -2
  230. package/es/components/productSelect/components/pisellPriceText/index.d.ts +1 -1
  231. package/es/components/productSelect/components/productGroup/index.d.ts +2 -3
  232. package/es/components/productSelect/index.d.ts +1 -1
  233. package/es/components/ruleSetting/index.d.ts +2 -2
  234. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -2
  235. package/es/components/schedules/calendar/calendarItem.d.ts +1 -2
  236. package/es/components/schedules/calendar/index.d.ts +1 -2
  237. package/es/components/schedules/components/Card/index.d.ts +1 -1
  238. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -2
  239. package/es/components/schedules/components/ResourceList/index.d.ts +1 -1
  240. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -2
  241. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -2
  242. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -2
  243. package/es/components/schedules/components/Search/index.d.ts +1 -1
  244. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -2
  245. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -2
  246. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -2
  247. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -2
  248. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -2
  249. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -2
  250. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -2
  251. package/es/components/schedules/products/index.d.ts +1 -2
  252. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -2
  253. package/es/components/schedules/products/list/index.d.ts +1 -2
  254. package/es/components/schedules/resources/index.d.ts +1 -2
  255. package/es/components/schedules/resources/list/index.d.ts +1 -2
  256. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -2
  257. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -2
  258. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -2
  259. package/es/components/schedules/schedules/Schedules.d.ts +1 -1
  260. package/es/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
  261. package/es/components/schedules/schedules/index.d.ts +1 -2
  262. package/es/components/shoppingCart/Provider.d.ts +1 -1
  263. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -2
  264. package/es/components/shoppingCart/components/Cart/index.d.ts +1 -2
  265. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -1
  266. package/es/components/shoppingCart/components/Render/index.d.ts +2 -2
  267. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -2
  268. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -2
  269. package/es/components/shoppingCart/index.d.ts +2 -2
  270. package/es/components/subTotal/index.d.ts +1 -1
  271. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +1 -2
  272. package/es/components/systemSettings/registry/components/GroupModal.js +8 -1
  273. package/es/components/systemSettings/registry/components/ItemModal.js +3 -0
  274. package/es/components/systemSettings/registry/index.js +3 -1
  275. package/es/components/systemSettings/registry/services.d.ts +2 -0
  276. package/es/components/systemSettings/registry/types.d.ts +3 -0
  277. package/es/components/tabProduct/index.d.ts +1 -1
  278. package/es/components/taxSelect/index.d.ts +1 -2
  279. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -2
  280. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -2
  281. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -2
  282. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -2
  283. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -2
  284. package/es/components/ticketBooking/index.d.ts +1 -2
  285. package/es/components/ticketBooking/miniRedux.d.ts +1 -1
  286. package/es/components/walletList/index.d.ts +1 -2
  287. package/es/components/walletList/model.d.ts +1 -1
  288. package/es/components/walletList/tempHolderSelector/index.d.ts +2 -2
  289. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -2
  290. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -2
  291. package/es/hooks/usePaymentLogger.d.ts +2 -2
  292. package/es/index.d.ts +1 -1
  293. package/es/index.js +1 -1
  294. package/es/plus/clientName/index.d.ts +1 -2
  295. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -2
  296. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -2
  297. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -2
  298. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +1 -2
  299. package/es/plus/orderList/components/HandleActions.d.ts +1 -2
  300. package/es/plus/orderList/components/QuickFilter.d.ts +1 -2
  301. package/es/plus/orderList/components/Reset.d.ts +1 -2
  302. package/es/plus/orderList/components/Toolbar.d.ts +1 -2
  303. package/es/plus/orderList/config.d.ts +3 -4
  304. package/es/plus/orderList/index.d.ts +1 -1
  305. package/es/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +1 -2
  306. package/es/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +1 -1
  307. package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +1 -1
  308. package/es/plus/pisellSalesManagement/config/booking.d.ts +1 -1
  309. package/es/plus/pisellSalesManagement/index.d.ts +1 -1
  310. package/es/plus/productSelect/ProductCard/index.d.ts +2 -2
  311. package/es/plus/productSelect/ProductList/gridComponents.d.ts +6 -6
  312. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +1 -1
  313. package/es/plus/productSelect/index.d.ts +1 -1
  314. package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -2
  315. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -2
  316. package/es/plus/saasCreateOrganization/index.d.ts +1 -2
  317. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -2
  318. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -2
  319. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -2
  320. package/es/plus/saasRegister/components/Header.d.ts +1 -2
  321. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -2
  322. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -2
  323. package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -2
  324. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -1
  325. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -2
  326. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +1 -2
  327. package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -2
  328. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -2
  329. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +2 -2
  330. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +2 -2
  331. package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -2
  332. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -2
  333. package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -2
  334. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -2
  335. package/es/plus/walletPassGallery/components/usageRule/index.d.ts +1 -1
  336. package/es/plus/walletPassGallery/index.d.ts +1 -2
  337. package/es/pro/Login2.0/components/ForgotPasswordFlow.d.ts +2 -9
  338. package/es/pro/Login2.0/components/LoginCodeInput.d.ts +2 -6
  339. package/es/pro/Login2.0/components/PhoneInput.d.ts +1 -1
  340. package/es/pro/Login2.0/components/phoneValidation.js +65 -58
  341. package/es/pro/Login2.0/steps/CodeInput.d.ts +2 -6
  342. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +2 -6
  343. package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +2 -5
  344. package/es/pro/Login2.0/steps/EmailLinkExpired.d.ts +2 -5
  345. package/es/pro/Login2.0/steps/SetPassword.d.ts +2 -5
  346. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +2 -5
  347. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +2 -5
  348. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +2 -5
  349. package/es/pro/Selector/Item.d.ts +1 -1
  350. package/es/pro/Selector/demo.d.ts +1 -2
  351. package/es/pro/keyboards/numberKeyboard/index.d.ts +1 -1
  352. package/es/pro/numberKeyboard/index.d.ts +1 -1
  353. package/es/pro/pisellPaymentList/example.d.ts +10 -11
  354. package/es/pro/pisellPhoneKeyboard/index.d.ts +1 -2
  355. package/lib/businessModel/SalesModel/index.d.ts +2 -2
  356. package/lib/components/Sales/index.d.ts +1 -1
  357. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -2
  358. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -2
  359. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -2
  360. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -2
  361. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +2 -3
  362. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -2
  363. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -2
  364. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -2
  365. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -2
  366. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -2
  367. package/lib/components/appointmentBooking/context.d.ts +2 -2
  368. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -2
  369. package/lib/components/appointmentBooking/deposit/index.d.ts +1 -2
  370. package/lib/components/appointmentBooking/index.d.ts +1 -2
  371. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +16 -5
  372. package/lib/components/authentication/admin/ChannelAuthSetting/index.js +1 -1
  373. package/lib/components/booking/components/TabProduct/index.d.ts +2 -2
  374. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +2 -2
  375. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -2
  376. package/lib/components/booking/components/authWrap/index.d.ts +1 -1
  377. package/lib/components/booking/components/browserSelect/index.d.ts +1 -1
  378. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -2
  379. package/lib/components/booking/components/drawer/index.d.ts +1 -1
  380. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -2
  381. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -2
  382. package/lib/components/booking/components/footer/index.d.ts +1 -2
  383. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -2
  384. package/lib/components/booking/components/menuButton/index.d.ts +1 -1
  385. package/lib/components/booking/components/voucher/index.d.ts +1 -2
  386. package/lib/components/booking/dashboard/index.d.ts +1 -1
  387. package/lib/components/booking/deposit/ClientItem/index.d.ts +1 -1
  388. package/lib/components/booking/deposit/DepositItem/index.d.ts +1 -1
  389. package/lib/components/booking/deposit/index.d.ts +2 -2
  390. package/lib/components/booking/forms/footer.d.ts +1 -2
  391. package/lib/components/booking/forms/single/index.d.ts +2 -2
  392. package/lib/components/booking/forms/table/index.d.ts +1 -2
  393. package/lib/components/booking/hooks/useClearCart.d.ts +1 -2
  394. package/lib/components/booking/hooks/useQuotation.d.ts +1 -2
  395. package/lib/components/booking/info/addServiceVariant/index.d.ts +2 -2
  396. package/lib/components/booking/info/client/index.d.ts +1 -1
  397. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +2 -2
  398. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  399. package/lib/components/booking/info/date/index.d.ts +2 -2
  400. package/lib/components/booking/info/dateRange/index.d.ts +1 -2
  401. package/lib/components/booking/info/header/index.d.ts +1 -2
  402. package/lib/components/booking/info/hooks/useGetHolderList.d.ts +1 -1
  403. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +3 -2
  404. package/lib/components/booking/info/index.d.ts +2 -2
  405. package/lib/components/booking/info/notes/index.d.ts +2 -2
  406. package/lib/components/booking/info/pet/index.d.ts +1 -1
  407. package/lib/components/booking/info/service/Lists.d.ts +2 -2
  408. package/lib/components/booking/info/service/actions/index.d.ts +2 -2
  409. package/lib/components/booking/info/service/addService/index.d.ts +2 -2
  410. package/lib/components/booking/info/service/addTimeModal/index.d.ts +2 -2
  411. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -2
  412. package/lib/components/booking/info/service/index.d.ts +1 -1
  413. package/lib/components/booking/info/service/like/index.d.ts +1 -2
  414. package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -2
  415. package/lib/components/booking/info/service/serviceList/index.d.ts +2 -2
  416. package/lib/components/booking/info/service2/Lists.d.ts +2 -2
  417. package/lib/components/booking/info/service2/index.d.ts +1 -1
  418. package/lib/components/booking/info2/service/actions/index.d.ts +2 -2
  419. package/lib/components/booking/info2/service/addService/index.d.ts +1 -2
  420. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +2 -2
  421. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -2
  422. package/lib/components/booking/info2/service/index.d.ts +1 -1
  423. package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -2
  424. package/lib/components/booking/info2/service/serviceList/index.d.ts +2 -2
  425. package/lib/components/booking/materiels/contacts/index.d.ts +1 -2
  426. package/lib/components/booking/materiels/duration/index.d.ts +2 -2
  427. package/lib/components/booking/materiels/holder/index.d.ts +2 -2
  428. package/lib/components/booking/materiels/startTime/index.d.ts +2 -2
  429. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -2
  430. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -2
  431. package/lib/components/booking/notes/addNote/index.d.ts +1 -2
  432. package/lib/components/booking/utils.d.ts +2 -2
  433. package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +1 -2
  434. package/lib/components/ecocup/components/CupActionList/index.d.ts +1 -2
  435. package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +1 -1
  436. package/lib/components/ecocup/components/CupActionModal/index.d.ts +1 -2
  437. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +1 -2
  438. package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +2 -2
  439. package/lib/components/ecocup/components/CupStatusModal/index.d.ts +1 -2
  440. package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +2 -2
  441. package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -5
  442. package/lib/components/ecocup/components/CustomerCard/index.d.ts +1 -2
  443. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +1 -2
  444. package/lib/components/ecocup/components/PageHeader/index.d.ts +1 -1
  445. package/lib/components/ecocup/components/SearchBar/index.d.ts +1 -2
  446. package/lib/components/ecocup/components/SettingModal/index.d.ts +1 -2
  447. package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +1 -2
  448. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +1 -2
  449. package/lib/components/ecocup/cupList/index.d.ts +1 -2
  450. package/lib/components/ecocup/cupProject/index.d.ts +2 -2
  451. package/lib/components/ecocup/customerList/index.d.ts +2 -2
  452. package/lib/components/eftpos/device.d.ts +1 -1
  453. package/lib/components/eftpos/deviceList/index.d.ts +1 -2
  454. package/lib/components/eftpos/form/index.d.ts +1 -2
  455. package/lib/components/eftpos/group/index.d.ts +2 -3
  456. package/lib/components/eftpos/icon/apiKey.d.ts +1 -2
  457. package/lib/components/eftpos/icon/device.d.ts +1 -2
  458. package/lib/components/eftpos/index.d.ts +1 -2
  459. package/lib/components/eftpos/log.d.ts +2 -2
  460. package/lib/components/eftpos/pos.d.ts +1 -2
  461. package/lib/components/eftpos/receipt/index.d.ts +1 -2
  462. package/lib/components/eftpos/surcharge/index.d.ts +1 -2
  463. package/lib/components/eftposPay/amount.d.ts +3 -3
  464. package/lib/components/eftposPay/amount.js +13 -1
  465. package/lib/components/eftposPay/app.d.ts +3 -3
  466. package/lib/components/eftposPay/app.js +2 -1
  467. package/lib/components/eftposPay/component/alert/index.d.ts +1 -1
  468. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -2
  469. package/lib/components/eftposPay/component/fail/failCustom.d.ts +2 -2
  470. package/lib/components/eftposPay/component/fail/failCustom.js +10 -2
  471. package/lib/components/eftposPay/component/fail/index.d.ts +1 -2
  472. package/lib/components/eftposPay/component/fail/index.js +10 -2
  473. package/lib/components/eftposPay/component/fail/network.d.ts +1 -2
  474. package/lib/components/eftposPay/component/fail/network.js +3 -0
  475. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -2
  476. package/lib/components/eftposPay/component/fail/unknow.js +8 -0
  477. package/lib/components/eftposPay/component/header/index.d.ts +1 -1
  478. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -2
  479. package/lib/components/eftposPay/component/manual/index.d.ts +1 -2
  480. package/lib/components/eftposPay/component/manual/index.js +10 -0
  481. package/lib/components/eftposPay/component/signature/index.d.ts +1 -2
  482. package/lib/components/eftposPay/component/signature/index.js +3 -0
  483. package/lib/components/eftposPay/component/step/index.d.ts +1 -2
  484. package/lib/components/eftposPay/component/step/step.d.ts +1 -2
  485. package/lib/components/eftposPay/device.d.ts +3 -3
  486. package/lib/components/eftposPay/device.js +11 -10
  487. package/lib/components/eftposPay/hooks.d.ts +1 -1
  488. package/lib/components/eftposPay/index.d.ts +2 -2
  489. package/lib/components/eftposPay/index.js +36 -11
  490. package/lib/components/eftposPay/linkly/hooks/normal.js +22 -43
  491. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +13 -65
  492. package/lib/components/eftposPay/linkly/index.d.ts +2 -2
  493. package/lib/components/eftposPay/linkly/index.js +7 -10
  494. package/lib/components/eftposPay/pay.d.ts +2 -2
  495. package/lib/components/eftposPay/pay.js +9 -1
  496. package/lib/components/eftposPay/payo/config.d.ts +2 -3
  497. package/lib/components/eftposPay/payo/config.js +15 -8
  498. package/lib/components/eftposPay/payo/hooks.js +12 -10
  499. package/lib/components/eftposPay/payo/index.d.ts +1 -1
  500. package/lib/components/eftposPay/payo/payment.js +31 -65
  501. package/lib/components/eftposPay/store/index.d.ts +3 -3
  502. package/lib/components/eftposPay/tip.d.ts +1 -2
  503. package/lib/components/eftposPay/tip.js +5 -0
  504. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  505. package/lib/components/eftposPay/tyro/index.d.ts +1 -1
  506. package/lib/components/eftposPay/tyro/index.js +21 -17
  507. package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
  508. package/lib/components/eftposPay/utils/payLog.js +320 -0
  509. package/lib/components/eftposPay/windcave/receiptAction.d.ts +2 -3
  510. package/lib/components/eftposPay/windcave/receiptAction.js +5 -0
  511. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -2
  512. package/lib/components/eftposPay/windcave/windcave.js +18 -20
  513. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -1
  514. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -2
  515. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -2
  516. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -2
  517. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -2
  518. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -2
  519. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +2 -2
  520. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -2
  521. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -2
  522. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -2
  523. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +2 -2
  524. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -2
  525. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -2
  526. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -2
  527. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -2
  528. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -2
  529. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +2 -2
  530. package/lib/components/eventBooking/components/Voucher/index.d.ts +1 -2
  531. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -2
  532. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -1
  533. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -1
  534. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -1
  535. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -2
  536. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -2
  537. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -2
  538. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -2
  539. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +2 -2
  540. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +2 -2
  541. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -2
  542. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -2
  543. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -2
  544. package/lib/components/eventBooking/index.d.ts +2 -2
  545. package/lib/components/kioskSkuDetail/index.d.ts +1 -1
  546. package/lib/components/login/index.d.ts +1 -2
  547. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -1
  548. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -2
  549. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -2
  550. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -1
  551. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -2
  552. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -2
  553. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +2 -2
  554. package/lib/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
  555. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +1 -3
  556. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -2
  557. package/lib/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
  558. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -2
  559. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -2
  560. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -2
  561. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +2 -2
  562. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -2
  563. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +2 -2
  564. package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -2
  565. package/lib/components/productExtension/fields/Actor/index.d.ts +2 -2
  566. package/lib/components/productExtension/fields/Forms/index.d.ts +2 -2
  567. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +2 -2
  568. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -2
  569. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +2 -2
  570. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +2 -2
  571. package/lib/components/productExtension/index.d.ts +2 -2
  572. package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -2
  573. package/lib/components/productSelect/components/pisellPriceText/index.d.ts +1 -1
  574. package/lib/components/productSelect/components/productGroup/index.d.ts +2 -3
  575. package/lib/components/productSelect/index.d.ts +1 -1
  576. package/lib/components/ruleSetting/index.d.ts +2 -2
  577. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -2
  578. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -2
  579. package/lib/components/schedules/calendar/index.d.ts +1 -2
  580. package/lib/components/schedules/components/Card/index.d.ts +1 -1
  581. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -2
  582. package/lib/components/schedules/components/ResourceList/index.d.ts +1 -1
  583. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -2
  584. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -2
  585. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -2
  586. package/lib/components/schedules/components/Search/index.d.ts +1 -1
  587. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -2
  588. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -2
  589. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -2
  590. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -2
  591. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -2
  592. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -2
  593. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -2
  594. package/lib/components/schedules/products/index.d.ts +1 -2
  595. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -2
  596. package/lib/components/schedules/products/list/index.d.ts +1 -2
  597. package/lib/components/schedules/resources/index.d.ts +1 -2
  598. package/lib/components/schedules/resources/list/index.d.ts +1 -2
  599. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -2
  600. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -2
  601. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -2
  602. package/lib/components/schedules/schedules/Schedules.d.ts +1 -1
  603. package/lib/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
  604. package/lib/components/schedules/schedules/index.d.ts +1 -2
  605. package/lib/components/shoppingCart/Provider.d.ts +1 -1
  606. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -2
  607. package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -2
  608. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -1
  609. package/lib/components/shoppingCart/components/Render/index.d.ts +2 -2
  610. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -2
  611. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -2
  612. package/lib/components/shoppingCart/index.d.ts +2 -2
  613. package/lib/components/subTotal/index.d.ts +1 -1
  614. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +1 -2
  615. package/lib/components/systemSettings/registry/components/GroupModal.js +71 -72
  616. package/lib/components/systemSettings/registry/components/ItemModal.js +2 -1
  617. package/lib/components/systemSettings/registry/index.js +3 -1
  618. package/lib/components/systemSettings/registry/services.d.ts +2 -0
  619. package/lib/components/systemSettings/registry/types.d.ts +3 -0
  620. package/lib/components/tabProduct/index.d.ts +1 -1
  621. package/lib/components/taxSelect/index.d.ts +1 -2
  622. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -2
  623. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -2
  624. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -2
  625. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -2
  626. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -2
  627. package/lib/components/ticketBooking/index.d.ts +1 -2
  628. package/lib/components/ticketBooking/miniRedux.d.ts +1 -1
  629. package/lib/components/walletList/index.d.ts +1 -2
  630. package/lib/components/walletList/model.d.ts +1 -1
  631. package/lib/components/walletList/tempHolderSelector/index.d.ts +2 -2
  632. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -2
  633. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -2
  634. package/lib/hooks/usePaymentLogger.d.ts +2 -2
  635. package/lib/index.d.ts +1 -1
  636. package/lib/index.js +2 -0
  637. package/lib/plus/clientName/index.d.ts +1 -2
  638. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -2
  639. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -2
  640. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -2
  641. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +1 -2
  642. package/lib/plus/orderList/components/HandleActions.d.ts +1 -2
  643. package/lib/plus/orderList/components/QuickFilter.d.ts +1 -2
  644. package/lib/plus/orderList/components/Reset.d.ts +1 -2
  645. package/lib/plus/orderList/components/Toolbar.d.ts +1 -2
  646. package/lib/plus/orderList/config.d.ts +3 -4
  647. package/lib/plus/orderList/index.d.ts +1 -1
  648. package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +1 -2
  649. package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +1 -1
  650. package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +1 -1
  651. package/lib/plus/pisellSalesManagement/config/booking.d.ts +1 -1
  652. package/lib/plus/pisellSalesManagement/index.d.ts +1 -1
  653. package/lib/plus/productSelect/ProductCard/index.d.ts +2 -2
  654. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +6 -6
  655. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +1 -1
  656. package/lib/plus/productSelect/index.d.ts +1 -1
  657. package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -2
  658. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -2
  659. package/lib/plus/saasCreateOrganization/index.d.ts +1 -2
  660. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -2
  661. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -2
  662. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -2
  663. package/lib/plus/saasRegister/components/Header.d.ts +1 -2
  664. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -2
  665. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -2
  666. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -2
  667. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -1
  668. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -2
  669. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +1 -2
  670. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -2
  671. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -2
  672. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +2 -2
  673. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +2 -2
  674. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -2
  675. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -2
  676. package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -2
  677. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -2
  678. package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +1 -1
  679. package/lib/plus/walletPassGallery/index.d.ts +1 -2
  680. package/lib/pro/Login2.0/components/ForgotPasswordFlow.d.ts +2 -9
  681. package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +2 -6
  682. package/lib/pro/Login2.0/components/PhoneInput.d.ts +1 -1
  683. package/lib/pro/Login2.0/components/phoneValidation.js +4 -2
  684. package/lib/pro/Login2.0/steps/CodeInput.d.ts +2 -6
  685. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +2 -6
  686. package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +2 -5
  687. package/lib/pro/Login2.0/steps/EmailLinkExpired.d.ts +2 -5
  688. package/lib/pro/Login2.0/steps/SetPassword.d.ts +2 -5
  689. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +2 -5
  690. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +2 -5
  691. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +2 -5
  692. package/lib/pro/Selector/Item.d.ts +1 -1
  693. package/lib/pro/Selector/demo.d.ts +1 -2
  694. package/lib/pro/keyboards/numberKeyboard/index.d.ts +1 -1
  695. package/lib/pro/numberKeyboard/index.d.ts +1 -1
  696. package/lib/pro/pisellPaymentList/example.d.ts +10 -11
  697. package/lib/pro/pisellPhoneKeyboard/index.d.ts +1 -2
  698. package/lowcode/admin-auth-channel-auth/meta.ts +116 -0
  699. package/lowcode/admin-auth-online-shop-auth/meta.ts +81 -5
  700. package/package.json +3 -3
@@ -0,0 +1,320 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/eftposPay/utils/payLog.ts
30
+ var payLog_exports = {};
31
+ __export(payLog_exports, {
32
+ default: () => payLog_default,
33
+ usePayLog: () => usePayLog
34
+ });
35
+ module.exports = __toCommonJS(payLog_exports);
36
+ var import_dayjs = __toESM(require("dayjs"));
37
+ var import_react = require("react");
38
+ var import_utils = require("@pisell/utils");
39
+ var STORAGE_KEY = "pisell2_eftpos_paylog";
40
+ var ERROR_KEYWORDS = ["失败", "错误", "异常", "error", "fail", "timeout", "超时"];
41
+ function generateSessionKey() {
42
+ const ts = Date.now();
43
+ const rand = Math.random().toString(36).substring(2, 8);
44
+ return `eft_${ts}_${rand}`;
45
+ }
46
+ function isErrorLog(title) {
47
+ const lower = title.toLowerCase();
48
+ return ERROR_KEYWORDS.some((kw) => lower.includes(kw));
49
+ }
50
+ function shallowEqual(a, b) {
51
+ if (a === b) return true;
52
+ if (a == null && b == null) return true;
53
+ if (a == null || b == null) return false;
54
+ try {
55
+ return JSON.stringify(a) === JSON.stringify(b);
56
+ } catch {
57
+ return false;
58
+ }
59
+ }
60
+ function compressLogs(logs) {
61
+ if (logs.length === 0) return [];
62
+ const result = [];
63
+ let i = 0;
64
+ while (i < logs.length) {
65
+ const current = logs[i];
66
+ if (isErrorLog(current.t)) {
67
+ result.push({ t: current.t, ts: current.ts, d: current.d });
68
+ i++;
69
+ continue;
70
+ }
71
+ let j = i + 1;
72
+ while (j < logs.length && logs[j].t === current.t && !isErrorLog(logs[j].t)) {
73
+ j++;
74
+ }
75
+ const count = j - i;
76
+ if (count === 1) {
77
+ result.push({ t: current.t, ts: current.ts, d: current.d });
78
+ } else {
79
+ const last = logs[j - 1];
80
+ const entry = {
81
+ t: current.t,
82
+ ts: current.ts,
83
+ count,
84
+ lastTs: last.ts
85
+ };
86
+ if (current.d !== void 0) entry.d = current.d;
87
+ if (!shallowEqual(current.d, last.d) && last.d !== void 0) {
88
+ entry.lastD = last.d;
89
+ }
90
+ result.push(entry);
91
+ }
92
+ i = j;
93
+ }
94
+ return result;
95
+ }
96
+ var PayLog = class _PayLog {
97
+ static instance;
98
+ sessionKey = null;
99
+ context = {};
100
+ logs = [];
101
+ startTime = 0;
102
+ flushed = false;
103
+ constructor() {
104
+ }
105
+ static getInstance() {
106
+ if (!_PayLog.instance) {
107
+ _PayLog.instance = new _PayLog();
108
+ }
109
+ return _PayLog.instance;
110
+ }
111
+ /**
112
+ * 初始化一次交易会话
113
+ * - 生成唯一 sessionKey
114
+ * - 恢复上报 localStorage 中残留的旧日志
115
+ * - 接受部分 context(后续可通过 setContext 补充)
116
+ */
117
+ init(context) {
118
+ try {
119
+ this.recoverOrphanedLogs();
120
+ this.sessionKey = generateSessionKey();
121
+ this.context = context || {};
122
+ this.logs = [];
123
+ this.startTime = Date.now();
124
+ this.flushed = false;
125
+ this.log("PayLog 初始化", context);
126
+ } catch (error) {
127
+ console.error("PayLog init error:", error);
128
+ }
129
+ }
130
+ /**
131
+ * 补充/更新上下文信息
132
+ * 新值覆盖旧值,extra 做浅合并
133
+ */
134
+ setContext(partial) {
135
+ var _a;
136
+ if (!this.sessionKey) return;
137
+ const { extra, ...rest } = partial;
138
+ Object.assign(this.context, rest);
139
+ if (extra) {
140
+ this.context.extra = { ...((_a = this.context) == null ? void 0 : _a.extra) || {}, ...extra || {} };
141
+ }
142
+ this.persistToStorage();
143
+ }
144
+ /**
145
+ * 记录一条日志
146
+ */
147
+ log(title, data) {
148
+ if (!this.sessionKey) {
149
+ console.warn("PayLog: 未初始化,日志将被忽略 -", title);
150
+ return;
151
+ }
152
+ const entry = {
153
+ t: title,
154
+ ts: (0, import_dayjs.default)().format("HH:mm:ss.SSS")
155
+ };
156
+ if (data !== void 0) {
157
+ entry.d = data;
158
+ }
159
+ this.logs.push(entry);
160
+ this.persistToStorage();
161
+ }
162
+ /**
163
+ * 上报日志到飞书并清理 localStorage
164
+ */
165
+ flush(customTitle) {
166
+ if (this.flushed || !this.sessionKey) return;
167
+ this.flushed = true;
168
+ try {
169
+ const elapsed = ((Date.now() - this.startTime) / 1e3).toFixed(1);
170
+ const compressed = compressLogs(this.logs);
171
+ const { paymentType, mode, orderId } = this.context;
172
+ const title = customTitle || `[EFTPOS] ${paymentType || "Unknown"}-${mode || "unknown"}-${orderId || "Unknown"}`;
173
+ const content = this.buildContent(compressed, elapsed);
174
+ (0, import_utils.sendWarningLog)({ title, content });
175
+ this.removeFromStorage(this.sessionKey);
176
+ } catch (error) {
177
+ console.error("PayLog flush error:", error);
178
+ } finally {
179
+ this.sessionKey = null;
180
+ }
181
+ }
182
+ /**
183
+ * flush + 重置内部状态
184
+ */
185
+ destroy() {
186
+ this.flush();
187
+ this.sessionKey = null;
188
+ this.context = {};
189
+ this.logs = [];
190
+ this.startTime = 0;
191
+ this.flushed = false;
192
+ }
193
+ // ─── 私有方法 ───
194
+ /**
195
+ * 构建 sendWarningLog 所需的 content 数组
196
+ */
197
+ buildContent(compressed, elapsed) {
198
+ const ctx = this.context;
199
+ return [
200
+ { key: "sessionKey", value: this.sessionKey || "" },
201
+ { key: "发起时间", value: (0, import_dayjs.default)(this.startTime).format("YYYY-MM-DD HH:mm:ss") },
202
+ { key: "交易号", value: String(ctx.transactionNumber || "未知") },
203
+ { key: "订单ID", value: String(ctx.orderId || "未知") },
204
+ { key: "设备ID", value: String(ctx.deviceId || "未知") },
205
+ { key: "支付类型", value: String(ctx.paymentType || "未知") },
206
+ { key: "模式", value: String(ctx.mode || "未知") },
207
+ { key: "渠道", value: String(ctx.channel || "未知") },
208
+ { key: "总耗时", value: `${elapsed}s` },
209
+ // { key: '日志条数(原始/压缩)', value: `${this.logs.length}/${compressed.length}` },
210
+ { key: "时间线", value: JSON.stringify(compressed) }
211
+ ];
212
+ }
213
+ /**
214
+ * 持久化当前会话到 localStorage
215
+ */
216
+ persistToStorage() {
217
+ if (!this.sessionKey) return;
218
+ try {
219
+ const all = this.getAllSessions();
220
+ all[this.sessionKey] = {
221
+ sessionKey: this.sessionKey,
222
+ context: this.context,
223
+ logs: this.logs,
224
+ startTime: this.startTime
225
+ };
226
+ localStorage.setItem(STORAGE_KEY, JSON.stringify(all));
227
+ } catch (error) {
228
+ console.error("PayLog persist error:", error);
229
+ }
230
+ }
231
+ /**
232
+ * 从 localStorage 移除指定 session
233
+ */
234
+ removeFromStorage(key) {
235
+ try {
236
+ const all = this.getAllSessions();
237
+ delete all[key];
238
+ if (Object.keys(all).length === 0) {
239
+ localStorage.removeItem(STORAGE_KEY);
240
+ } else {
241
+ localStorage.setItem(STORAGE_KEY, JSON.stringify(all));
242
+ }
243
+ } catch (error) {
244
+ console.error("PayLog removeFromStorage error:", error);
245
+ }
246
+ }
247
+ /**
248
+ * 获取 localStorage 中所有 session
249
+ */
250
+ getAllSessions() {
251
+ try {
252
+ const raw = localStorage.getItem(STORAGE_KEY);
253
+ if (!raw) return {};
254
+ return JSON.parse(raw);
255
+ } catch {
256
+ return {};
257
+ }
258
+ }
259
+ /**
260
+ * 恢复上报 localStorage 中残留的旧日志(崩溃/异常退出场景)
261
+ */
262
+ recoverOrphanedLogs() {
263
+ try {
264
+ const all = this.getAllSessions();
265
+ const keys = Object.keys(all);
266
+ if (keys.length === 0) return;
267
+ for (const key of keys) {
268
+ const session = all[key];
269
+ try {
270
+ const elapsed = ((Date.now() - session.startTime) / 1e3).toFixed(1);
271
+ const compressed = compressLogs(session.logs);
272
+ const ctx = session.context;
273
+ const title = `[PRE][EFTPOS] ${ctx.paymentType || "未知支付"}-${ctx.mode || "未知模式"}-${ctx.orderId || "未知订单ID"}`;
274
+ const content = [
275
+ { key: "sessionKey", value: session.sessionKey },
276
+ { key: "发起时间", value: (0, import_dayjs.default)(session.startTime).format("YYYY-MM-DD HH:mm:ss") },
277
+ { key: "交易号", value: String(ctx.transactionNumber || "未知") },
278
+ { key: "订单ID", value: String(ctx.orderId || "未知") },
279
+ { key: "设备ID", value: String(ctx.deviceId || "未知") },
280
+ { key: "支付类型", value: String(ctx.paymentType || "未知") },
281
+ { key: "模式", value: String(ctx.mode || "未知") },
282
+ { key: "总耗时", value: `${elapsed}s` },
283
+ { key: "日志条数(原始/压缩)", value: `${session.logs.length}/${compressed.length}` },
284
+ { key: "时间线", value: JSON.stringify(compressed) }
285
+ ];
286
+ (0, import_utils.sendWarningLog)({ title, content });
287
+ this.removeFromStorage(key);
288
+ } catch (err) {
289
+ console.error(`PayLog: 恢复上报失败 (${key}):`, err);
290
+ this.removeFromStorage(key);
291
+ }
292
+ }
293
+ } catch (error) {
294
+ console.error("PayLog recoverOrphanedLogs error:", error);
295
+ }
296
+ }
297
+ };
298
+ var payLog = PayLog.getInstance();
299
+ var payLog_default = payLog;
300
+ function usePayLog(context) {
301
+ const initialized = (0, import_react.useRef)(false);
302
+ (0, import_react.useEffect)(() => {
303
+ if (!initialized.current) {
304
+ initialized.current = true;
305
+ payLog.init(context);
306
+ }
307
+ return () => {
308
+ payLog.log("流程结束,上报日志");
309
+ payLog.flush();
310
+ };
311
+ }, []);
312
+ return {
313
+ log: (title, data) => payLog.log(title, data),
314
+ setContext: (partial) => payLog.setContext(partial)
315
+ };
316
+ }
317
+ // Annotate the CommonJS export names for ESM import in node:
318
+ 0 && (module.exports = {
319
+ usePayLog
320
+ });
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  /**
3
2
  * @title: 按钮操作区
4
3
  * @description: 仅包含签名
@@ -8,7 +7,7 @@ import React from 'react';
8
7
  export declare const ReceiptAction: ({ api, onChange, }: {
9
8
  api: any;
10
9
  onChange: (status: boolean) => void;
11
- }) => React.JSX.Element;
10
+ }) => JSX.Element;
12
11
  /**
13
12
  * @title: 按钮操作区
14
13
  * @description: 不包含签名
@@ -19,5 +18,5 @@ declare const Action: ({ index, onCancel, disabled, }: {
19
18
  index: number;
20
19
  onCancel: () => void;
21
20
  disabled: boolean;
22
- }) => React.JSX.Element | null;
21
+ }) => JSX.Element | null;
23
22
  export default Action;
@@ -40,6 +40,7 @@ var import_const = require("../const");
40
40
  var import_store = require("../store");
41
41
  var import_hooks = require("../hooks");
42
42
  var import_const2 = require("./const");
43
+ var import_payLog = __toESM(require("../utils/payLog"));
43
44
  var ReceiptAction = ({
44
45
  api,
45
46
  onChange
@@ -67,6 +68,7 @@ var ReceiptAction = ({
67
68
  listRef.current = custom == null ? void 0 : custom.list;
68
69
  }, [custom == null ? void 0 : custom.list]);
69
70
  const onAccept = () => {
71
+ import_payLog.default.log("Windcave:签名-点击确认");
70
72
  dispatch((0, import_store.updateStatus)(import_const.StatusEnum.Loading));
71
73
  dispatch(
72
74
  (0, import_store.updateCustom)({
@@ -144,6 +146,7 @@ var ReceiptAction = ({
144
146
  });
145
147
  };
146
148
  const onBack = () => {
149
+ import_payLog.default.log("Windcave:签名-点击后退");
147
150
  dispatch(
148
151
  (0, import_store.updateState)({
149
152
  title: import_utils.locales.getText("page.eftpos-pay.text.waiting.signature"),
@@ -154,6 +157,7 @@ var ReceiptAction = ({
154
157
  dispatch((0, import_store.updateCustom)({ receiptPage: "receipt" }));
155
158
  };
156
159
  const onConfirm = () => {
160
+ import_payLog.default.log("Windcave:签名-点击取消");
157
161
  dispatch(
158
162
  (0, import_store.updateState)({
159
163
  title: import_utils.locales.getText("page.eftpos-pay.text.processing"),
@@ -243,6 +247,7 @@ var ReceiptAction = ({
243
247
  });
244
248
  };
245
249
  const onDecline = () => {
250
+ import_payLog.default.log("Windcave:签名-点击取消");
246
251
  dispatch(
247
252
  (0, import_store.updateState)({
248
253
  title: import_utils.locales.getText("page.eftpos-pay.text.signature.title"),
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  declare const _default: ({ api, onChange, formatAmount, }: {
3
2
  api: any;
4
3
  onChange: any;
5
4
  formatAmount(amount: number | string, precision: number, symbol: string): string;
6
- }) => React.JSX.Element;
5
+ }) => JSX.Element;
7
6
  export default _default;
@@ -41,6 +41,7 @@ var import_hooks = require("../hooks");
41
41
  var import_store = require("../store");
42
42
  var import_const2 = require("./const");
43
43
  var import_helper2 = require("./helper");
44
+ var import_payLog = __toESM(require("../utils/payLog"));
44
45
  var import_receiptAction = __toESM(require("./receiptAction"));
45
46
  var Minute = 1e3 * 60;
46
47
  var windcave_default = ({
@@ -69,7 +70,7 @@ var windcave_default = ({
69
70
  const stepRef = (0, import_react.useRef)(custom == null ? void 0 : custom.step);
70
71
  const listRef = (0, import_react.useRef)(custom == null ? void 0 : custom.list);
71
72
  const initRef = (0, import_react.useRef)(false);
72
- const clearRef = (0, import_react.useRef)();
73
+ const clearRef = (0, import_react.useRef)(null);
73
74
  const isReceiptPage = (0, import_react.useMemo)(
74
75
  () => (custom == null ? void 0 : custom.step) === import_const2.StepStatusEnum.Receipt,
75
76
  [custom == null ? void 0 : custom.step]
@@ -144,8 +145,10 @@ var windcave_default = ({
144
145
  initRef.current = true;
145
146
  if (stepRef.current === import_const2.StepStatusEnum.Receipt) {
146
147
  if (import_const.StatusEnum.Loading === statusRef.current) {
148
+ import_payLog.default.log("Windcave:签名页面处于运行中(已发送签名,或取消签名接口),进行计时查询");
147
149
  run();
148
150
  } else {
151
+ import_payLog.default.log("Windcave:签名页面处于未加载中,进行无限查询");
149
152
  run(-1);
150
153
  }
151
154
  return;
@@ -155,7 +158,6 @@ var windcave_default = ({
155
158
  run();
156
159
  return;
157
160
  }
158
- console.log("modeRef.current = ", modeRef.current);
159
161
  numRef.current = (0, import_helper.getUuid)();
160
162
  dispatch(
161
163
  (0, import_store.updateState)({
@@ -212,24 +214,25 @@ var windcave_default = ({
212
214
  )
213
215
  };
214
216
  }
217
+ import_payLog.default.setContext({ transactionNumber: numRef.current });
218
+ if (isPay) {
219
+ import_payLog.default.log("Windcave:发起支付", { number: numRef.current });
220
+ } else {
221
+ import_payLog.default.log("Windcave:发起退款", { number: numRef.current });
222
+ }
215
223
  const resultPromise = isPay ? api.pay(_params, { signal: controllerRef.current.signal }) : api.refund(_params, { signal: controllerRef.current.signal });
216
224
  resultPromise.then((res) => {
217
- var _a2, _b2;
225
+ var _a2, _b2, _c;
218
226
  if (unloadRef.current || !netRef.current) {
219
227
  return;
220
228
  }
221
229
  if (res && `${res.code}` === "200" && res.data && res.data.txn_status_id) {
222
- (_a2 = validateRef.current) == null ? void 0 : _a2.call(validateRef, res, true);
230
+ import_payLog.default.log("Windcave:接口成功,进入轮询", { txn_status_id: (_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.txn_status_id });
231
+ (_b2 = validateRef.current) == null ? void 0 : _b2.call(validateRef, res, true);
223
232
  return;
224
233
  }
225
- (0, import_utils.sendWarningLog)({
226
- title: "windcave支付失败",
227
- content: [
228
- { key: "res", value: JSON.stringify(res) },
229
- { key: "params", value: JSON.stringify(_params) }
230
- ]
231
- });
232
- (_b2 = failRef.current) == null ? void 0 : _b2.call(
234
+ import_payLog.default.log("Windcave:支付接口返回失败", { code: res == null ? void 0 : res.code });
235
+ (_c = failRef.current) == null ? void 0 : _c.call(
233
236
  failRef,
234
237
  res,
235
238
  stepRef.current >= import_const2.StepStatusEnum.Account
@@ -237,14 +240,7 @@ var windcave_default = ({
237
240
  }).catch((res) => {
238
241
  var _a2;
239
242
  let isNoNet = unloadRef.current || !netRef.current;
240
- (0, import_utils.sendWarningLog)({
241
- title: "windcave支付失败",
242
- content: [
243
- { key: "error", value: JSON.stringify(res) },
244
- { key: "params", value: JSON.stringify(_params) },
245
- { key: "isNoNet", value: isNoNet ? "1" : "0" }
246
- ]
247
- });
243
+ import_payLog.default.log("Windcave:支付接口异常", { error: res == null ? void 0 : res.message, isNoNet });
248
244
  if (isNoNet) {
249
245
  return;
250
246
  }
@@ -257,6 +253,7 @@ var windcave_default = ({
257
253
  return;
258
254
  }, [api, run, dispatch]);
259
255
  const onCancel = () => {
256
+ import_payLog.default.log("Windcave:点击取消支付");
260
257
  setDisabled(true);
261
258
  api.update({
262
259
  type: "CANCEL",
@@ -276,6 +273,7 @@ var windcave_default = ({
276
273
  );
277
274
  const onChangeReceipt = (status2) => {
278
275
  if (status2) {
276
+ import_payLog.default.log("Windcave:签名状态");
279
277
  run();
280
278
  }
281
279
  };
@@ -1,3 +1,3 @@
1
1
  import './index.less';
2
- declare const ErrorTip: ({ text }: any) => import("react").JSX.Element;
2
+ declare const ErrorTip: ({ text }: any) => JSX.Element;
3
3
  export default ErrorTip;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare const ContinueButton: () => React.JSX.Element;
2
+ declare const ContinueButton: () => JSX.Element;
4
3
  export default ContinueButton;
@@ -1,6 +1,6 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  interface DepositProps {
3
3
  showTitle?: boolean;
4
4
  }
5
- declare const Deposit: (props: DepositProps) => React.JSX.Element;
5
+ declare const Deposit: (props: DepositProps) => JSX.Element;
6
6
  export default Deposit;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare const Total: ({ className, isFooter }: any) => React.JSX.Element;
2
+ declare const Total: ({ className, isFooter }: any) => JSX.Element;
4
3
  export default Total;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare const CartItem: () => React.JSX.Element;
2
+ declare const CartItem: () => JSX.Element;
4
3
  export default CartItem;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare const Cart: ({ open, onCancel }: any) => React.JSX.Element;
2
+ declare const Cart: ({ open, onCancel }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import './index.less';
3
- declare const Layout: () => React.JSX.Element;
3
+ declare const Layout: () => JSX.Element;
4
4
  export default Layout;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare const EmptyHolderModal: (props: any) => React.JSX.Element;
2
+ declare const EmptyHolderModal: (props: any) => JSX.Element;
4
3
  export default EmptyHolderModal;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare const Event: () => React.JSX.Element;
2
+ declare const Event: () => JSX.Element;
4
3
  export default Event;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare const Footer: () => React.JSX.Element;
2
+ declare const Footer: () => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import './index.less';
3
- declare const Header: () => React.JSX.Element;
3
+ declare const Header: () => JSX.Element;
4
4
  export default Header;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare const Information: () => React.JSX.Element;
2
+ declare const Information: () => JSX.Element;
4
3
  export default Information;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare const InformationOptionsModal: (props: any) => React.JSX.Element;
2
+ declare const InformationOptionsModal: (props: any) => JSX.Element;
4
3
  export default InformationOptionsModal;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare const OrderProductModal: (props: any) => React.JSX.Element;
2
+ declare const OrderProductModal: (props: any) => JSX.Element;
4
3
  export default OrderProductModal;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const RemoveOptionConfirmModal: (props: any) => React.JSX.Element;
1
+ declare const RemoveOptionConfirmModal: (props: any) => JSX.Element;
3
2
  export default RemoveOptionConfirmModal;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare const Resource: () => React.JSX.Element;
2
+ declare const Resource: () => JSX.Element;
4
3
  export default Resource;
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- declare const SelectHolderModal: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const SelectHolderModal: (props: any) => JSX.Element;
3
3
  export default SelectHolderModal;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const VoucherCard: () => React.JSX.Element | null;
1
+ declare const VoucherCard: () => JSX.Element | null;
3
2
  export default VoucherCard;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
- declare const Status: (props: any) => import("react").JSX.Element;
2
+ declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -6,5 +6,5 @@ declare type CallToBookProps = {
6
6
  export declare const defaultBookingConfig: {
7
7
  booking_mode_after_cut_off: string;
8
8
  };
9
- declare const CallToBook: (props: CallToBookProps) => import("react").JSX.Element | null;
9
+ declare const CallToBook: (props: CallToBookProps) => JSX.Element | null;
10
10
  export default CallToBook;
@@ -1,3 +1,3 @@
1
1
  import './index.less';
2
- declare const WeekItem: (props: any) => import("react").JSX.Element;
2
+ declare const WeekItem: (props: any) => JSX.Element;
3
3
  export default WeekItem;
@@ -8,5 +8,5 @@ declare type CalenDateWeekProps = {
8
8
  dateLimitData: any;
9
9
  cutTime: any;
10
10
  };
11
- declare const CalenDateWeek: (props: CalenDateWeekProps) => import("react").JSX.Element;
11
+ declare const CalenDateWeek: (props: CalenDateWeekProps) => JSX.Element;
12
12
  export default CalenDateWeek;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
- declare const DayItem: (props: any) => import("react").JSX.Element;
2
+ declare const DayItem: (props: any) => JSX.Element;
4
3
  export default DayItem;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { CalendarItemProps } from '../../../../../type';
4
- declare const Item: (props: CalendarItemProps) => import("react").JSX.Element;
3
+ declare const Item: (props: CalendarItemProps) => JSX.Element;
5
4
  export default Item;