@pisell/private-materials 3.3.104 → 3.3.106

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 (343) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +11 -11
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +11 -11
  11. package/es/components/Sales/Cart/index.js +1 -5
  12. package/es/components/Sales/Cart/utils.d.ts +0 -40
  13. package/es/components/Sales/Cart/utils.js +0 -167
  14. package/es/components/Sales/Checkout/index.d.ts +0 -4
  15. package/es/components/Sales/Checkout/index.js +8 -52
  16. package/es/components/Sales/Checkout/serve.d.ts +0 -13
  17. package/es/components/Sales/Checkout/serve.js +2 -16
  18. package/es/components/Sales/Checkout/utils.js +1 -7
  19. package/es/components/Sales/Summary/index.d.ts +0 -10
  20. package/es/components/Sales/Summary/index.js +2 -17
  21. package/es/components/Sales/Summary/serve.d.ts +0 -1
  22. package/es/components/Sales/Summary/serve.js +0 -6
  23. package/es/components/Sales/Summary/utils.d.ts +0 -15
  24. package/es/components/Sales/Summary/utils.js +1 -43
  25. package/es/components/appointmentBooking/components/Cart/Item/index.js +0 -1
  26. package/es/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  27. package/es/components/appointmentBooking/components/Content/index.js +1 -15
  28. package/es/components/appointmentBooking/components/Content/index.less +1 -1
  29. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -6
  30. package/es/components/appointmentBooking/components/Deposit/index.js +7 -27
  31. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  32. package/es/components/appointmentBooking/components/Resource/index.js +0 -1
  33. package/es/components/appointmentBooking/components/Services/index.js +27 -23
  34. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +20 -25
  35. package/es/components/appointmentBooking/deposit/index.js +2 -4
  36. package/es/components/appointmentBooking/index.js +0 -14
  37. package/es/components/appointmentBooking/index.less +1 -1
  38. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  39. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  40. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  41. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  42. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  43. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  44. package/es/components/booking/components/footer/index.d.ts +0 -1
  45. package/es/components/booking/components/voucher/index.js +2 -2
  46. package/es/components/booking/deposit/index.d.ts +0 -1
  47. package/es/components/booking/forms/single/index.d.ts +0 -1
  48. package/es/components/booking/forms/table/index.d.ts +0 -1
  49. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  50. package/es/components/booking/info/date/index.d.ts +0 -1
  51. package/es/components/booking/info/header/index.d.ts +0 -1
  52. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  53. package/es/components/booking/info/notes/index.d.ts +0 -1
  54. package/es/components/booking/info/service/Lists.d.ts +0 -1
  55. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  56. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  57. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  58. package/es/components/booking/info/service2/utils.d.ts +1 -1
  59. package/es/components/booking/info/utils.js +1 -1
  60. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  61. package/es/components/booking/info2/service/addService/index.d.ts +0 -1
  62. package/es/components/booking/info2/service/addTimeModal/index.js +31 -8
  63. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  64. package/es/components/booking/info2/utils.js +13 -16
  65. package/es/components/booking/info2/utilsByBooking.js +1 -1
  66. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  67. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  68. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  69. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  70. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  71. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  72. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  73. package/es/components/booking/utils.d.ts +2 -2
  74. package/es/components/eftpos/index.d.ts +0 -1
  75. package/es/components/eftpos/pos.d.ts +0 -1
  76. package/es/components/eftposPay/amount.d.ts +1 -2
  77. package/es/components/eftposPay/app.d.ts +0 -1
  78. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  79. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  80. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  81. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  82. package/es/components/eftposPay/const.d.ts +1 -4
  83. package/es/components/eftposPay/const.js +1 -3
  84. package/es/components/eftposPay/device.d.ts +1 -2
  85. package/es/components/eftposPay/hooks.d.ts +2 -2
  86. package/es/components/eftposPay/hooks.js +1 -3
  87. package/es/components/eftposPay/index.js +1 -1
  88. package/es/components/eftposPay/manufacturer.d.ts +0 -1
  89. package/es/components/eftposPay/manufacturer.js +0 -4
  90. package/es/components/eftposPay/pay.d.ts +1 -1
  91. package/es/components/eftposPay/pay.js +2 -6
  92. package/es/components/eftposPay/payo/config.d.ts +0 -1
  93. package/es/components/eftposPay/store/index.d.ts +6 -6
  94. package/es/components/eftposPay/tip.d.ts +0 -1
  95. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  96. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  97. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +17 -29
  98. package/es/components/eventBooking/components/Provider/Cart/Item/Total.js +6 -10
  99. package/es/components/eventBooking/components/Provider/Cart/Item/index.js +2 -4
  100. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  101. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  102. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  103. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  104. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  105. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  106. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  107. package/es/components/eventBooking/components/bookingDetailModal/index.js +1 -3
  108. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  109. package/es/components/eventBooking/index.d.ts +0 -1
  110. package/es/components/eventBooking/locales.d.ts +0 -24
  111. package/es/components/eventBooking/locales.js +3 -27
  112. package/es/components/login/index.d.ts +0 -1
  113. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  114. package/es/components/pay/toC/PaymentMethods/index.js +4 -5
  115. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  116. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  117. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  118. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  119. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  120. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  121. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  122. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  123. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  124. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  125. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  126. package/es/components/productExtension/index.d.ts +0 -1
  127. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  128. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  129. package/es/components/schedules/calendar/index.d.ts +0 -1
  130. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  131. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  132. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  133. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  134. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  135. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  136. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  137. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  138. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  139. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  140. package/es/components/schedules/products/index.d.ts +0 -1
  141. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  142. package/es/components/schedules/products/list/index.d.ts +0 -1
  143. package/es/components/schedules/resources/index.d.ts +0 -1
  144. package/es/components/schedules/resources/list/index.d.ts +0 -1
  145. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  146. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  147. package/es/components/schedules/schedules/index.d.ts +0 -1
  148. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  149. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  150. package/es/components/shoppingCart/index.d.ts +0 -1
  151. package/es/components/taxSelect/index.d.ts +0 -1
  152. package/es/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
  153. package/es/components/ticketBooking/components/ticketBooking/index.js +1 -120
  154. package/es/components/ticketBooking/index.d.ts +0 -1
  155. package/es/components/ticketBooking/locales.d.ts +146 -164
  156. package/es/components/ticketBooking/locales.js +147 -195
  157. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  158. package/lib/components/Sales/Cart/index.js +0 -1
  159. package/lib/components/Sales/Cart/utils.d.ts +0 -40
  160. package/lib/components/Sales/Cart/utils.js +0 -117
  161. package/lib/components/Sales/Checkout/index.d.ts +0 -4
  162. package/lib/components/Sales/Checkout/index.js +7 -39
  163. package/lib/components/Sales/Checkout/serve.d.ts +0 -13
  164. package/lib/components/Sales/Checkout/serve.js +2 -7
  165. package/lib/components/Sales/Checkout/utils.js +0 -2
  166. package/lib/components/Sales/Summary/index.d.ts +0 -10
  167. package/lib/components/Sales/Summary/index.js +1 -7
  168. package/lib/components/Sales/Summary/serve.d.ts +0 -1
  169. package/lib/components/Sales/Summary/serve.js +0 -32
  170. package/lib/components/Sales/Summary/utils.d.ts +0 -15
  171. package/lib/components/Sales/Summary/utils.js +1 -30
  172. package/lib/components/appointmentBooking/components/Cart/Item/index.js +0 -1
  173. package/lib/components/appointmentBooking/components/Cart/Item/index.less +3 -3
  174. package/lib/components/appointmentBooking/components/Content/index.js +1 -6
  175. package/lib/components/appointmentBooking/components/Content/index.less +1 -1
  176. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -6
  177. package/lib/components/appointmentBooking/components/Deposit/index.js +4 -36
  178. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  179. package/lib/components/appointmentBooking/components/Resource/index.js +0 -1
  180. package/lib/components/appointmentBooking/components/Services/index.js +11 -6
  181. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +4 -8
  182. package/lib/components/appointmentBooking/deposit/index.js +2 -4
  183. package/lib/components/appointmentBooking/index.js +0 -11
  184. package/lib/components/appointmentBooking/index.less +1 -1
  185. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  186. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  187. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  188. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  189. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  190. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  191. package/lib/components/booking/components/footer/index.d.ts +0 -1
  192. package/lib/components/booking/components/voucher/index.js +2 -2
  193. package/lib/components/booking/deposit/index.d.ts +0 -1
  194. package/lib/components/booking/forms/single/index.d.ts +0 -1
  195. package/lib/components/booking/forms/table/index.d.ts +0 -1
  196. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  197. package/lib/components/booking/info/date/index.d.ts +0 -1
  198. package/lib/components/booking/info/header/index.d.ts +0 -1
  199. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  200. package/lib/components/booking/info/notes/index.d.ts +0 -1
  201. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  202. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  203. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  204. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  205. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  206. package/lib/components/booking/info/utils.js +2 -1
  207. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  208. package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
  209. package/lib/components/booking/info2/service/addTimeModal/index.js +24 -8
  210. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  211. package/lib/components/booking/info2/utils.js +0 -15
  212. package/lib/components/booking/info2/utilsByBooking.js +1 -1
  213. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  214. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  215. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  216. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  217. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  218. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  219. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  220. package/lib/components/booking/utils.d.ts +2 -2
  221. package/lib/components/eftpos/index.d.ts +0 -1
  222. package/lib/components/eftpos/pos.d.ts +0 -1
  223. package/lib/components/eftposPay/amount.d.ts +1 -2
  224. package/lib/components/eftposPay/app.d.ts +0 -1
  225. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  226. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  227. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  228. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  229. package/lib/components/eftposPay/const.d.ts +1 -4
  230. package/lib/components/eftposPay/const.js +0 -2
  231. package/lib/components/eftposPay/device.d.ts +1 -2
  232. package/lib/components/eftposPay/hooks.d.ts +2 -2
  233. package/lib/components/eftposPay/hooks.js +4 -11
  234. package/lib/components/eftposPay/index.js +1 -1
  235. package/lib/components/eftposPay/manufacturer.d.ts +0 -1
  236. package/lib/components/eftposPay/manufacturer.js +0 -6
  237. package/lib/components/eftposPay/pay.d.ts +1 -1
  238. package/lib/components/eftposPay/pay.js +2 -13
  239. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  240. package/lib/components/eftposPay/store/index.d.ts +6 -6
  241. package/lib/components/eftposPay/tip.d.ts +0 -1
  242. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  243. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  244. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +3 -16
  245. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.js +5 -8
  246. package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +2 -4
  247. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  248. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  249. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  250. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  251. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  252. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  253. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  254. package/lib/components/eventBooking/components/bookingDetailModal/index.js +1 -1
  255. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  256. package/lib/components/eventBooking/index.d.ts +0 -1
  257. package/lib/components/eventBooking/locales.d.ts +0 -24
  258. package/lib/components/eventBooking/locales.js +3 -27
  259. package/lib/components/login/index.d.ts +0 -1
  260. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  261. package/lib/components/pay/toC/PaymentMethods/index.js +9 -10
  262. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  263. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  264. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  265. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  266. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  267. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  268. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  269. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  270. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  271. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  272. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  273. package/lib/components/productExtension/index.d.ts +0 -1
  274. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  275. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  276. package/lib/components/schedules/calendar/index.d.ts +0 -1
  277. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  278. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  279. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  280. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  281. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  282. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  283. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  284. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  285. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  286. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  287. package/lib/components/schedules/products/index.d.ts +0 -1
  288. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  289. package/lib/components/schedules/products/list/index.d.ts +0 -1
  290. package/lib/components/schedules/resources/index.d.ts +0 -1
  291. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  292. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  293. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  294. package/lib/components/schedules/schedules/index.d.ts +0 -1
  295. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  296. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  297. package/lib/components/shoppingCart/index.d.ts +0 -1
  298. package/lib/components/taxSelect/index.d.ts +0 -1
  299. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
  300. package/lib/components/ticketBooking/components/ticketBooking/index.js +1 -120
  301. package/lib/components/ticketBooking/index.d.ts +0 -1
  302. package/lib/components/ticketBooking/locales.d.ts +146 -164
  303. package/lib/components/ticketBooking/locales.js +4 -22
  304. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  305. package/package.json +3 -3
  306. package/es/components/booking/info2/utils.d.ts +0 -4
  307. package/es/components/eftposPay/linkly/const.d.ts +0 -23
  308. package/es/components/eftposPay/linkly/const.js +0 -82
  309. package/es/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  310. package/es/components/eftposPay/linkly/hooks/index.js +0 -2
  311. package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  312. package/es/components/eftposPay/linkly/hooks/normal.js +0 -321
  313. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  314. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +0 -273
  315. package/es/components/eftposPay/linkly/index.d.ts +0 -2
  316. package/es/components/eftposPay/linkly/index.js +0 -197
  317. package/es/components/eftposPay/linkly/service.d.ts +0 -32
  318. package/es/components/eftposPay/linkly/service.js +0 -81
  319. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
  320. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.js +0 -17
  321. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  322. package/es/components/ticketBooking/utils/formatProductMessage.js +0 -62
  323. package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
  324. package/es/components/ticketBooking/utils/formatTime.js +0 -144
  325. package/lib/components/booking/info2/utils.d.ts +0 -4
  326. package/lib/components/eftposPay/linkly/const.d.ts +0 -23
  327. package/lib/components/eftposPay/linkly/const.js +0 -102
  328. package/lib/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  329. package/lib/components/eftposPay/linkly/hooks/index.js +0 -25
  330. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  331. package/lib/components/eftposPay/linkly/hooks/normal.js +0 -242
  332. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  333. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +0 -222
  334. package/lib/components/eftposPay/linkly/index.d.ts +0 -2
  335. package/lib/components/eftposPay/linkly/index.js +0 -208
  336. package/lib/components/eftposPay/linkly/service.d.ts +0 -32
  337. package/lib/components/eftposPay/linkly/service.js +0 -55
  338. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
  339. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.js +0 -55
  340. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  341. package/lib/components/ticketBooking/utils/formatProductMessage.js +0 -84
  342. package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
  343. package/lib/components/ticketBooking/utils/formatTime.js +0 -139
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Table: ({ value, onChange, field, mode, onAdd }: any) => JSX.Element;
4
3
  export default Table;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from '../../../model';
3
2
  interface useClientFnParams {
4
3
  state: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
4
3
  declare const DateCom: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const header: ({ state, dispatch }: any) => JSX.Element;
4
3
  export default header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EditServiceRef } from "../service/editService";
3
2
  declare const useInfoHolder: (state: any, dispatch: any) => {
4
3
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Notes: () => JSX.Element | null;
3
2
  export default Notes;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
3
2
  export default Lists;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
3
2
  export default Lists;
@@ -244,4 +244,4 @@ export declare const updateAppointmentServicePrice: (state: any, { start_date, e
244
244
  * @Author: WangHan
245
245
  * @Date: 2024-12-24 11:32
246
246
  */
247
- export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
247
+ export declare const updateServicePrice: (state: any) => Promise<any> | never[];
@@ -142,7 +142,8 @@ var isBooking4Shop = (shopId, renderType) => {
142
142
  6988,
143
143
  8872,
144
144
  6930,
145
- 8824
145
+ 8824,
146
+ 8913
146
147
  ];
147
148
  return booking4Shops.includes(shopId);
148
149
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../../../info/service/actions/index.less';
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellDrawerProps } from '../../../components/drawer';
3
2
  import '../../../info/service/addService/index.less';
4
3
  interface AddServiceProps {
@@ -59,6 +59,7 @@ var AddTimeModal = () => {
59
59
  var _a, _b, _c, _d, _e, _f, _g, _h;
60
60
  const { state, dispatch } = (0, import_react.useContext)(import_model.Context);
61
61
  const [isEdit, setIsEdit] = (0, import_react.useState)(false);
62
+ const loadingRef = (0, import_react.useRef)(false);
62
63
  const [loading, setLoading] = (0, import_react.useState)("");
63
64
  const [recordKey, setRecordKey] = (0, import_react.useState)("");
64
65
  const [number, setNumber] = (0, import_react.useState)(1);
@@ -192,7 +193,11 @@ var AddTimeModal = () => {
192
193
  status: "published"
193
194
  },
194
195
  {
195
- useCache: true
196
+ useCache: true,
197
+ retry: {
198
+ count: 3,
199
+ delay: 500
200
+ }
196
201
  }
197
202
  );
198
203
  return (data == null ? void 0 : data.list) || [];
@@ -226,12 +231,14 @@ var AddTimeModal = () => {
226
231
  let productId = list[0].id;
227
232
  let time = list[0].times[0].value;
228
233
  setRecordKey(import_utils2.addTimeRowKey.create(productId, time));
234
+ updateServices.run();
229
235
  } catch (err) {
230
236
  }
231
237
  };
232
238
  (0, import_ahooks.useUpdateEffect)(() => {
233
239
  if (state.service.addTimeModal) {
234
240
  getTimeProducts();
241
+ loadingRef.current = false;
235
242
  originServices.current = state.service;
236
243
  } else {
237
244
  updateServices.run();
@@ -386,18 +393,27 @@ var AddTimeModal = () => {
386
393
  if (currentTime === null) {
387
394
  return;
388
395
  }
396
+ if (loadingRef.current) {
397
+ return;
398
+ }
399
+ loadingRef.current = true;
389
400
  setLoading(loadingType);
390
401
  const api = (0, import_utils4.isBooking4Shop)(
391
402
  (_e2 = (_d2 = (_c2 = (_b2 = (_a2 = context.appHelper.utils.store) == null ? void 0 : _a2.getState) == null ? void 0 : _b2.call(_a2)) == null ? void 0 : _c2.global) == null ? void 0 : _d2.globalConfig) == null ? void 0 : _e2.id,
392
403
  state.renderType
393
404
  ) ? import_serve.saveAddTimeProduct2 : import_serve.saveAddTimeProduct;
394
- await api({
395
- orderId: state.bookingId,
396
- params: {
397
- ...newService,
398
- _extend: void 0
399
- }
400
- });
405
+ try {
406
+ await api({
407
+ orderId: state.bookingId,
408
+ params: {
409
+ ...newService,
410
+ _extend: void 0
411
+ }
412
+ });
413
+ loadingRef.current = false;
414
+ } catch (err) {
415
+ loadingRef.current = false;
416
+ }
401
417
  setLoading("");
402
418
  import_antd.message.success(import_utils.locales.getText("page.booking.text.add-time-success"));
403
419
  onCancel();
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -30,21 +30,6 @@ var getFormatResourceListAndMap = (data, bookingId = []) => {
30
30
  return prev;
31
31
  }, {});
32
32
  const getCapacity = (item) => {
33
- var _a, _b, _c, _d;
34
- if (((_a = item.combined_resource) == null ? void 0 : _a.status) === 1 && ((_c = (_b = item.combined_resource) == null ? void 0 : _b.resource_ids) == null ? void 0 : _c.length)) {
35
- return (_d = item.combined_resource) == null ? void 0 : _d.resource_ids.reduce((pre, cur) => {
36
- var _a2;
37
- let pax = 0;
38
- (((_a2 = map[cur]) == null ? void 0 : _a2.times) || []).forEach((time) => {
39
- time.event_list.forEach((event) => {
40
- if (!bookingId.includes(event.id)) {
41
- pax += (event == null ? void 0 : event.pax) || 0;
42
- }
43
- });
44
- });
45
- return pre - pax;
46
- }, item.capacity);
47
- }
48
33
  return item.capacity;
49
34
  };
50
35
  resourceList = resourceList.map((item) => {
@@ -59,7 +59,7 @@ var isConflict = (event, current) => {
59
59
  return _isBefore && _isAfter;
60
60
  };
61
61
  var getResourceTimeIsUsable = (item, cacheItem, resourceItem) => {
62
- const startDate = (0, import_dayjs.default)(cacheItem._extend.start_date.format("YYYY-MM-DD") + " " + (0, import_utils2.getServeStartTime)(cacheItem._extend.start_time));
62
+ const startDate = (0, import_dayjs.default)((0, import_dayjs.default)(cacheItem._extend.start_date).format("YYYY-MM-DD") + " " + (0, import_utils2.getServeStartTime)(cacheItem._extend.start_time));
63
63
  const isFlexible = import_utils2.flexibleObj.isFlexible(cacheItem._extend.duration);
64
64
  let isMaxLimitRange = false;
65
65
  let isDateRange = false;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ContactType = {
4
3
  country_calling_code: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface DurationProps extends SelectProps {
4
3
  locale?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface HolderProps extends SelectProps {
4
3
  selectProps?: SelectProps;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from "antd";
3
2
  interface StartTimeProps extends SelectProps {
4
3
  locale?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  isEdit: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  title?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const AddNote: ({ value, onChange, wait, title, placeholder }: any) => JSX.Element;
4
3
  export default AddNote;
@@ -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 | {
168
+ }) => number | "flexible" | {
169
169
  type: string;
170
170
  value: number;
171
- } | "flexible";
171
+ };
172
172
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
173
173
  export declare const getIsEdit: (state: any) => boolean;
174
174
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos, DeviceStatus } from './const';
3
2
  import './index.less';
4
3
  interface PosProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DeviceProp } from "./const";
3
2
  interface PosProps {
4
3
  eftposName: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps } from './const';
3
2
  /**
4
3
  * @title: 支付金额信息配置页
@@ -9,7 +8,7 @@ import { PosProps } from './const';
9
8
  */
10
9
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
10
  className?: string | undefined;
12
- onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
12
  [keys: string]: unknown;
14
13
  } | undefined, other?: any) => void) | undefined;
15
14
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps, RouteType } from './const';
3
2
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
4
3
  action: RouteType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 断网(客户端)提示页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 取消签名确认页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusType } from '../../const';
3
2
  declare const _default: (props: {
4
3
  status: StatusType;
@@ -5,8 +5,7 @@ export declare enum EftposEnum {
5
5
  Tyro = "tyro",
6
6
  /** 后端支付 - 支付 + 退款 */
7
7
  Windcave = "windcave",
8
- Stripe = "stripe",
9
- Linkly = "linkly"
8
+ Stripe = "stripe"
10
9
  }
11
10
  export declare enum StatusEnum {
12
11
  Loading = "loading",
@@ -148,8 +147,6 @@ export declare enum PayStatus {
148
147
  'Success' = "200",
149
148
  /** 未生成交易记录 */
150
149
  'NoPay' = "4004",
151
- /** 配对失效 */
152
- 'PairingFailure' = "606020",
153
150
  /** 支付失败 */
154
151
  'Unknown' = "701000",
155
152
  /** 交易请求超时 */
@@ -35,7 +35,6 @@ var EftposEnum = /* @__PURE__ */ ((EftposEnum2) => {
35
35
  EftposEnum2["Tyro"] = "tyro";
36
36
  EftposEnum2["Windcave"] = "windcave";
37
37
  EftposEnum2["Stripe"] = "stripe";
38
- EftposEnum2["Linkly"] = "linkly";
39
38
  return EftposEnum2;
40
39
  })(EftposEnum || {});
41
40
  var StatusEnum = /* @__PURE__ */ ((StatusEnum2) => {
@@ -89,7 +88,6 @@ var PayRouteEnum = /* @__PURE__ */ ((PayRouteEnum2) => {
89
88
  var PayStatus = /* @__PURE__ */ ((PayStatus2) => {
90
89
  PayStatus2["Success"] = "200";
91
90
  PayStatus2["NoPay"] = "4004";
92
- PayStatus2["PairingFailure"] = "606020";
93
91
  PayStatus2["Unknown"] = "701000";
94
92
  PayStatus2["Timeout"] = "701001";
95
93
  PayStatus2["PayOtherEftposFailed"] = "701003";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps, PosProps } from './const';
3
2
  import './device.less';
4
3
  /**
@@ -11,7 +10,7 @@ import './device.less';
11
10
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
12
11
  api: PayProps['api'];
13
12
  className?: string | undefined;
14
- onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
13
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
15
14
  [keys: string]: unknown;
16
15
  } | undefined, other?: any) => void) | undefined;
17
16
  onClose: () => void;
@@ -15,11 +15,11 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"success" | "loading" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"tyro" | "windcave" | "stripe" | "payo">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -128,7 +128,6 @@ var useFail = (index) => {
128
128
  return;
129
129
  }
130
130
  const [code] = [`${res.code}`];
131
- console.log("code---->>>>>>>", code);
132
131
  if (code === import_const.PayStatus.Unknown) {
133
132
  steps[index].title = import_utils.locales.getText("page.eftpos-pay.text.failed")(
134
133
  modeRef.current
@@ -169,12 +168,8 @@ var useFail = (index) => {
169
168
  if (isMark) {
170
169
  if (clientRef.current === import_const2.ClientEnum.User) {
171
170
  steps[index].status = "fail";
172
- steps[index].title = import_utils.locales.getText(
173
- "page.eftpos-pay.text.timedout.title"
174
- );
175
- steps[index].fail = import_utils.locales.getText(
176
- "page.eftpos-pay.text.transaction.eftpos.fail.other"
177
- );
171
+ steps[index].title = import_utils.locales.getText("page.eftpos-pay.text.timedout.title");
172
+ steps[index].fail = import_utils.locales.getText("page.eftpos-pay.text.transaction.eftpos.fail.other");
178
173
  steps[index].custom = steps[index].custom ? { ...steps[index].custom, isPosNetworkError: true } : { isPosNetworkError: true };
179
174
  dispatch((0, import_store.updateSteps)(steps));
180
175
  dispatch((0, import_store.updateComponent)("Fail"));
@@ -315,9 +310,7 @@ ${import_utils.locales.getText(
315
310
  )}
316
311
  ${import_utils.locales.getText(
317
312
  "page.eftpos-pay.text.transaction.eftpos.fail.if"
318
- )(modeRef.current)}` : import_utils.locales.getText(
319
- "page.eftpos-pay.text.transaction.eftpos.fail.other"
320
- );
313
+ )(modeRef.current)}` : import_utils.locales.getText("page.eftpos-pay.text.transaction.eftpos.fail.other");
321
314
  steps[index].status = "warn";
322
315
  steps[index].custom = steps[index].custom ? { ...steps[index].custom, isPosNetworkError: true } : { isPosNetworkError: true };
323
316
  dispatch((0, import_store.updateSteps)(steps));
@@ -366,7 +359,7 @@ ${import_utils.locales.getText(
366
359
  );
367
360
  return;
368
361
  }
369
- if (code === import_const.PayStatus.UserConfigError || code === import_const.PayStatus.PairingFailure) {
362
+ if (code === import_const.PayStatus.UserConfigError) {
370
363
  steps[index].title = import_utils.locales.getText(
371
364
  "page.eftpos-pay.text.transaction.user.config.title"
372
365
  );
@@ -139,7 +139,7 @@ var eftposPay_default = (props) => {
139
139
  }, [mode, state]);
140
140
  (0, import_react.useEffect)(() => {
141
141
  document.body.id = "body";
142
- console.log("初始化 ........112218017777");
142
+ console.log("初始化 ........11221801");
143
143
  }, []);
144
144
  console.log("props?.params?.device_number = ", (_e = props == null ? void 0 : props.params) == null ? void 0 : _e.device_number);
145
145
  const api = (0, import_react.useMemo)(() => {
@@ -3,5 +3,4 @@ export { getAmonunt } from './helper';
3
3
  export { default as Payo } from './payo';
4
4
  export { default as Windcave } from './windcave/windcave';
5
5
  export { default as Tyro } from './tyro';
6
- export { default as Linkly } from './linkly';
7
6
  export declare const getInitState: (type: string, params?: any) => State;
@@ -29,7 +29,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
29
29
  // src/components/eftposPay/manufacturer.tsx
30
30
  var manufacturer_exports = {};
31
31
  __export(manufacturer_exports, {
32
- Linkly: () => import_linkly.default,
33
32
  Payo: () => import_payo.default,
34
33
  Tyro: () => import_tyro.default,
35
34
  Windcave: () => import_windcave.default,
@@ -41,12 +40,10 @@ var import_const = require("./const");
41
40
  var import_const2 = __toESM(require("./payo/const"));
42
41
  var import_const3 = __toESM(require("./tyro/const"));
43
42
  var import_const4 = __toESM(require("./windcave/const"));
44
- var import_const5 = __toESM(require("./linkly/const"));
45
43
  var import_helper = require("./helper");
46
44
  var import_payo = __toESM(require("./payo"));
47
45
  var import_windcave = __toESM(require("./windcave/windcave"));
48
46
  var import_tyro = __toESM(require("./tyro"));
49
- var import_linkly = __toESM(require("./linkly"));
50
47
  var getInitState = (type, params) => {
51
48
  switch (type) {
52
49
  case import_const.EftposEnum.Payo:
@@ -55,15 +52,12 @@ var getInitState = (type, params) => {
55
52
  return (0, import_const4.default)(params);
56
53
  case import_const.EftposEnum.Tyro:
57
54
  return (0, import_const3.default)(params);
58
- case import_const.EftposEnum.Linkly:
59
- return (0, import_const5.default)(params);
60
55
  default:
61
56
  throw new Error("未知的厂商类型");
62
57
  }
63
58
  };
64
59
  // Annotate the CommonJS export names for ESM import in node:
65
60
  0 && (module.exports = {
66
- Linkly,
67
61
  Payo,
68
62
  Tyro,
69
63
  Windcave,
@@ -6,7 +6,7 @@ import './index.less';
6
6
  * @Author: hongbing.wang
7
7
  * @Date: 2024-08-20 14:59
8
8
  */
9
- declare const Pay: ({ api, onChange: onChangeStatus, className, terminal, net, isMobile, tyroUrl, tyroVersion, formatAmount, client, }: PayProps & {
9
+ declare const Pay: ({ api, onChange: onChangeStatus, className, terminal, net, isMobile, tyroUrl, tyroVersion, formatAmount, client }: PayProps & {
10
10
  terminal: {
11
11
  network: boolean;
12
12
  };
@@ -145,7 +145,6 @@ var Pay = ({
145
145
  }
146
146
  };
147
147
  }, []);
148
- console.log("data =>>>>>> ", data);
149
148
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, data.render ? /* @__PURE__ */ import_react.default.createElement(
150
149
  "div",
151
150
  {
@@ -161,16 +160,7 @@ var Pay = ({
161
160
  }
162
161
  ),
163
162
  data.eftpos === "payo" ? /* @__PURE__ */ import_react.default.createElement(import_manufacturer.Payo, { api, onChange }, data.warn && data.status !== import_const.StatusEnum.Success && client === import_const.ClientEnum.Merchant ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-step-item pisell-lowcode__eft-pay-step-item-warn" }, data.warn) : null, data.status === import_const.StatusEnum.Success ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-step-item pisell-lowcode__eft-pay-step-item-tip" }, import_utils.locales.getText("page.eftpos-pay.text.transaction.end")) : null) : null,
164
- data.eftpos === "tyro" ? /* @__PURE__ */ import_react.default.createElement(
165
- import_manufacturer.Tyro,
166
- {
167
- api,
168
- onChange,
169
- key: data.key,
170
- url: tyroUrl,
171
- version: tyroVersion
172
- }
173
- ) : null,
163
+ data.eftpos === "tyro" ? /* @__PURE__ */ import_react.default.createElement(import_manufacturer.Tyro, { api, onChange, key: data.key, url: tyroUrl, version: tyroVersion }) : null,
174
164
  data.eftpos === "windcave" ? /* @__PURE__ */ import_react.default.createElement(
175
165
  import_manufacturer.Windcave,
176
166
  {
@@ -179,8 +169,7 @@ var Pay = ({
179
169
  key: data.key,
180
170
  formatAmount
181
171
  }
182
- ) : null,
183
- data.eftpos === "linkly" ? /* @__PURE__ */ import_react.default.createElement(import_manufacturer.Linkly, { key: data.key, api, onChange }) : null
172
+ ) : null
184
173
  ) : null, data.type === import_const.PayRouteEnum.Unset && Comm ? /* @__PURE__ */ import_react.default.createElement(
185
174
  Comm,
186
175
  {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusEnum } from '../const';
3
2
  export declare const POS: ({ api, onChange, }: {
4
3
  api: {
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "loading" | "success" | "warn" | "fail" | "question";
177
+ status: "success" | "loading" | "warn" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -295,20 +295,20 @@ export declare const backUpFree: (payload: Partial<State>) => {
295
295
  name?: string | undefined;
296
296
  symbol?: string | undefined;
297
297
  amount?: string | number | undefined;
298
- mode?: "pay" | "fullPay" | "refund" | "query" | undefined;
298
+ mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
301
- action?: "amount" | "deviceList" | "pay" | undefined;
300
+ eftpos?: "tyro" | "windcave" | "stripe" | "payo" | undefined;
301
+ action?: "amount" | "pay" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
305
305
  subTitle?: string | undefined;
306
- type?: "step" | "unset" | undefined;
306
+ type?: "unset" | "step" | undefined;
307
307
  render?: boolean | undefined;
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?: "success" | "loading" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './tip.less';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 按钮操作区
4
3
  * @description: 仅包含签名
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ api, onChange, formatAmount, }: {
3
2
  api: any;
4
3
  onChange: any;