@pisell/private-materials 6.8.7 → 6.8.9

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 (380) 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.js +7 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +7 -7
  11. package/es/components/appointmentBooking/components/Cart/Item/index.js +1 -0
  12. package/es/components/appointmentBooking/components/Voucher/index.js +16 -0
  13. package/es/components/booking/addons/model.d.ts +1 -10
  14. package/es/components/booking/components/actionButtons/index.js +34 -16
  15. package/es/components/booking/components/footer/amount.js +25 -8
  16. package/es/components/booking/components/footer/index.js +67 -35
  17. package/es/components/booking/components/footer/utils.d.ts +7 -0
  18. package/es/components/booking/components/footer/utils.js +66 -42
  19. package/es/components/booking/components/voucher/index.js +58 -14
  20. package/es/components/booking/forms/model.d.ts +1 -10
  21. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  22. package/es/components/booking/hooks/useQuotation.js +69 -21
  23. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  24. package/es/components/booking/info/hooks/useHolderConfig.d.ts +1 -0
  25. package/es/components/booking/info/hooks/useHolderConfig.js +9 -2
  26. package/es/components/booking/info/model.d.ts +1 -10
  27. package/es/components/booking/info/service/Lists.d.ts +1 -1
  28. package/es/components/booking/info/service/Lists.js +8 -2
  29. package/es/components/booking/info/service/serve.d.ts +14 -0
  30. package/es/components/booking/info/service/serve.js +21 -0
  31. package/es/components/booking/info/service2/Group/utils.js +2 -0
  32. package/es/components/booking/info/service2/utils.d.ts +1 -33
  33. package/es/components/booking/info/service2/utils.js +84 -36
  34. package/es/components/booking/info/utils.js +5 -0
  35. package/es/components/booking/info2/cartClientCard/index.js +23 -5
  36. package/es/components/booking/info2/service/addService/index.js +146 -88
  37. package/es/components/booking/info2/service/addService/utils.d.ts +8 -0
  38. package/es/components/booking/info2/service/addService/utils.js +78 -9
  39. package/es/components/booking/info2/service/editService/Holder/index.d.ts +12 -0
  40. package/es/components/booking/info2/service/editService/Holder/index.js +193 -0
  41. package/es/components/booking/info2/service/editService/Holder/index.less +63 -0
  42. package/es/components/booking/info2/service/editService/index.js +332 -76
  43. package/es/components/booking/info2/utilsByBooking.js +14 -5
  44. package/es/components/booking/locales.d.ts +30 -0
  45. package/es/components/booking/locales.js +39 -3
  46. package/es/components/booking/model.d.ts +1 -9
  47. package/es/components/booking/notes/model.d.ts +1 -10
  48. package/es/components/booking/payments/model.d.ts +1 -10
  49. package/es/components/booking/utils/confirmHolderModal.d.ts +13 -0
  50. package/es/components/booking/utils/confirmHolderModal.js +318 -0
  51. package/es/components/booking/utils/confirmHolderModal.less +40 -0
  52. package/es/components/booking/utils/selectHolderModal.d.ts +24 -0
  53. package/es/components/booking/utils/selectHolderModal.js +407 -0
  54. package/es/components/booking/utils.d.ts +11 -3
  55. package/es/components/booking/utils.js +24 -1
  56. package/es/components/checkout/PaymentModal.js +15 -10
  57. package/es/components/eftpos/hooks.d.ts +0 -1
  58. package/es/components/eftposPay/amount.d.ts +1 -1
  59. package/es/components/eftposPay/device.d.ts +1 -1
  60. package/es/components/eftposPay/store/index.d.ts +2 -2
  61. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  62. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  63. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  64. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  65. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  66. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  67. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  68. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  69. package/es/components/index.d.ts +1 -2
  70. package/es/components/index.js +1 -2
  71. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  72. package/es/components/pay/toC/model.d.ts +1 -9
  73. package/es/components/schedules/model.d.ts +1 -9
  74. package/es/components/shoppingCart/components/Cart/Product.js +6 -3
  75. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  76. package/es/components/shoppingCart/type.d.ts +1 -0
  77. package/es/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.d.ts +18 -0
  78. package/es/components/{wallet/Detail/serve.js → ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.js} +112 -57
  79. package/es/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.less +0 -0
  80. package/es/components/ticketBooking/components/addServiceVariant/addService.js +19 -15
  81. package/es/components/ticketBooking/components/addServiceVariant/index.js +4 -0
  82. package/es/components/ticketBooking/components/ticketBooking/index.js +14 -11
  83. package/es/components/ticketBooking/utils/index.d.ts +10 -2
  84. package/es/components/ticketBooking/utils/index.js +37 -7
  85. package/es/components/walletList/index.d.ts +0 -24
  86. package/es/components/walletList/index.js +173 -41
  87. package/es/components/walletList/locales.d.ts +9 -0
  88. package/es/components/walletList/locales.js +12 -3
  89. package/es/components/walletList/serve.d.ts +19 -0
  90. package/es/components/walletList/serve.js +94 -5
  91. package/es/components/walletList/tempHolderSelector/index.d.ts +14 -0
  92. package/es/components/walletList/tempHolderSelector/index.js +196 -0
  93. package/es/components/walletList/tempHolderSelector/index.less +63 -0
  94. package/es/hooks/usePaymentLogger.d.ts +0 -1
  95. package/es/index.d.ts +2 -1
  96. package/es/index.js +2 -1
  97. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +3 -0
  98. package/es/plus/selectHolder/components/ErrorTip/index.js +14 -0
  99. package/es/plus/selectHolder/components/ErrorTip/index.less +51 -0
  100. package/es/plus/selectHolder/components/HolderItem/index.d.ts +6 -0
  101. package/es/plus/selectHolder/components/HolderItem/index.js +77 -0
  102. package/es/plus/selectHolder/components/HolderItem/index.less +105 -0
  103. package/es/plus/selectHolder/components/HolderList/index.d.ts +30 -0
  104. package/es/plus/selectHolder/components/HolderList/index.js +43 -0
  105. package/es/plus/selectHolder/index.d.ts +7 -0
  106. package/es/plus/selectHolder/index.js +273 -0
  107. package/es/plus/selectHolder/index.less +137 -0
  108. package/es/plus/selectHolder/locales.d.ts +24 -0
  109. package/es/plus/selectHolder/locales.js +29 -0
  110. package/es/plus/selectHolder/types.d.ts +104 -0
  111. package/es/plus/selectHolder/types.js +1 -0
  112. package/es/plus/selectHolder/utils.d.ts +9 -0
  113. package/es/plus/selectHolder/utils.js +16 -0
  114. package/es/plus/walletEditor/WalletEditor.js +60 -2
  115. package/es/plus/walletEditor/locales.d.ts +9 -0
  116. package/es/plus/walletEditor/locales.js +12 -3
  117. package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -0
  118. package/es/plus/walletPassGallery/components/passList/index.js +17 -5
  119. package/es/plus/walletPassGallery/index.js +223 -41
  120. package/es/plus/walletPassGallery/locales.d.ts +15 -0
  121. package/es/plus/walletPassGallery/locales.js +29 -5
  122. package/es/plus/walletPassGallery/serve.d.ts +15 -1
  123. package/es/plus/walletPassGallery/serve.js +59 -2
  124. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  125. package/es/plus/walletPassGallery/utils.js +342 -0
  126. package/es/pro/multiDayTimeSelect/MultiDayTimeSelect.d.ts +9 -0
  127. package/es/pro/multiDayTimeSelect/MultiDayTimeSelect.js +355 -0
  128. package/es/pro/multiDayTimeSelect/MultiDayTimeSelect.less +8 -0
  129. package/es/pro/multiDayTimeSelect/index.d.ts +3 -0
  130. package/es/pro/multiDayTimeSelect/index.js +1 -0
  131. package/es/pro/multiDayTimeSelect/types.d.ts +28 -0
  132. package/es/pro/multiDayTimeSelect/types.js +1 -0
  133. package/es/pro/skuDetailModal/types.d.ts +1 -0
  134. package/lib/components/appointmentBooking/components/Cart/Item/index.js +1 -0
  135. package/lib/components/appointmentBooking/components/Voucher/index.js +17 -0
  136. package/lib/components/booking/addons/model.d.ts +1 -10
  137. package/lib/components/booking/components/actionButtons/index.js +11 -0
  138. package/lib/components/booking/components/footer/amount.js +23 -6
  139. package/lib/components/booking/components/footer/index.js +25 -4
  140. package/lib/components/booking/components/footer/utils.d.ts +7 -0
  141. package/lib/components/booking/components/footer/utils.js +41 -29
  142. package/lib/components/booking/components/voucher/index.js +48 -6
  143. package/lib/components/booking/forms/model.d.ts +1 -10
  144. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  145. package/lib/components/booking/hooks/useQuotation.js +45 -13
  146. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  147. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +1 -0
  148. package/lib/components/booking/info/hooks/useHolderConfig.js +8 -3
  149. package/lib/components/booking/info/model.d.ts +1 -10
  150. package/lib/components/booking/info/service/Lists.d.ts +1 -1
  151. package/lib/components/booking/info/service/Lists.js +4 -2
  152. package/lib/components/booking/info/service/serve.d.ts +14 -0
  153. package/lib/components/booking/info/service/serve.js +5 -0
  154. package/lib/components/booking/info/service2/Group/utils.js +2 -0
  155. package/lib/components/booking/info/service2/utils.d.ts +1 -33
  156. package/lib/components/booking/info/service2/utils.js +32 -16
  157. package/lib/components/booking/info/utils.js +4 -0
  158. package/lib/components/booking/info2/cartClientCard/index.js +11 -0
  159. package/lib/components/booking/info2/service/addService/index.js +22 -2
  160. package/lib/components/booking/info2/service/addService/utils.d.ts +8 -0
  161. package/lib/components/booking/info2/service/addService/utils.js +47 -9
  162. package/lib/components/booking/info2/service/editService/Holder/index.d.ts +12 -0
  163. package/lib/components/booking/info2/service/editService/Holder/index.js +199 -0
  164. package/lib/components/booking/info2/service/editService/Holder/index.less +63 -0
  165. package/lib/components/booking/info2/service/editService/index.js +273 -38
  166. package/lib/components/booking/info2/utilsByBooking.js +19 -8
  167. package/lib/components/booking/locales.d.ts +30 -0
  168. package/lib/components/booking/locales.js +33 -3
  169. package/lib/components/booking/model.d.ts +1 -9
  170. package/lib/components/booking/notes/model.d.ts +1 -10
  171. package/lib/components/booking/payments/model.d.ts +1 -10
  172. package/lib/components/booking/utils/confirmHolderModal.d.ts +13 -0
  173. package/lib/components/booking/utils/confirmHolderModal.js +253 -0
  174. package/lib/components/booking/utils/confirmHolderModal.less +40 -0
  175. package/lib/components/booking/utils/selectHolderModal.d.ts +24 -0
  176. package/lib/components/booking/utils/selectHolderModal.js +319 -0
  177. package/lib/components/booking/utils.d.ts +11 -3
  178. package/lib/components/booking/utils.js +15 -0
  179. package/lib/components/checkout/PaymentModal.js +5 -2
  180. package/lib/components/eftpos/hooks.d.ts +0 -1
  181. package/lib/components/eftposPay/amount.d.ts +1 -1
  182. package/lib/components/eftposPay/device.d.ts +1 -1
  183. package/lib/components/eftposPay/store/index.d.ts +2 -2
  184. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  185. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  186. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  187. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  188. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  189. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  190. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  191. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  192. package/lib/components/index.d.ts +1 -2
  193. package/lib/components/index.js +0 -3
  194. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  195. package/lib/components/pay/toC/model.d.ts +1 -9
  196. package/lib/components/schedules/model.d.ts +1 -9
  197. package/lib/components/shoppingCart/components/Cart/Product.js +7 -3
  198. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  199. package/lib/components/shoppingCart/type.d.ts +1 -0
  200. package/lib/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.d.ts +18 -0
  201. package/lib/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.js +118 -0
  202. package/lib/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.less +0 -0
  203. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +10 -9
  204. package/lib/components/ticketBooking/components/addServiceVariant/index.js +4 -0
  205. package/lib/components/ticketBooking/components/ticketBooking/index.js +0 -16
  206. package/lib/components/ticketBooking/utils/index.d.ts +10 -2
  207. package/lib/components/ticketBooking/utils/index.js +31 -6
  208. package/lib/components/walletList/index.d.ts +0 -24
  209. package/lib/components/walletList/index.js +100 -4
  210. package/lib/components/walletList/locales.d.ts +9 -0
  211. package/lib/components/walletList/locales.js +12 -3
  212. package/lib/components/walletList/serve.d.ts +19 -0
  213. package/lib/components/walletList/serve.js +26 -3
  214. package/lib/components/walletList/tempHolderSelector/index.d.ts +14 -0
  215. package/lib/components/walletList/tempHolderSelector/index.js +166 -0
  216. package/lib/components/walletList/tempHolderSelector/index.less +63 -0
  217. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  218. package/lib/index.d.ts +2 -1
  219. package/lib/index.js +6 -3
  220. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +3 -0
  221. package/lib/{components/wallet/PointCard/model.js → plus/selectHolder/components/ErrorTip/index.js} +10 -23
  222. package/lib/plus/selectHolder/components/ErrorTip/index.less +51 -0
  223. package/lib/plus/selectHolder/components/HolderItem/index.d.ts +6 -0
  224. package/lib/plus/selectHolder/components/HolderItem/index.js +101 -0
  225. package/lib/plus/selectHolder/components/HolderItem/index.less +105 -0
  226. package/lib/plus/selectHolder/components/HolderList/index.d.ts +30 -0
  227. package/lib/{components/wallet/components/WalletBar → plus/selectHolder/components/HolderList}/index.js +29 -15
  228. package/lib/plus/selectHolder/index.d.ts +7 -0
  229. package/lib/plus/selectHolder/index.js +223 -0
  230. package/lib/plus/selectHolder/index.less +137 -0
  231. package/lib/plus/selectHolder/locales.d.ts +24 -0
  232. package/lib/{components/wallet/Voucher → plus/selectHolder}/locales.js +17 -14
  233. package/lib/plus/selectHolder/types.d.ts +104 -0
  234. package/lib/plus/selectHolder/types.js +17 -0
  235. package/lib/plus/selectHolder/utils.d.ts +9 -0
  236. package/lib/{components/wallet/RechargeableCard/serve.js → plus/selectHolder/utils.js} +11 -10
  237. package/lib/plus/walletEditor/WalletEditor.js +53 -0
  238. package/lib/plus/walletEditor/locales.d.ts +9 -0
  239. package/lib/plus/walletEditor/locales.js +12 -3
  240. package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -0
  241. package/lib/plus/walletPassGallery/components/passList/index.js +16 -4
  242. package/lib/plus/walletPassGallery/index.js +154 -27
  243. package/lib/plus/walletPassGallery/locales.d.ts +15 -0
  244. package/lib/plus/walletPassGallery/locales.js +32 -5
  245. package/lib/plus/walletPassGallery/serve.d.ts +15 -1
  246. package/lib/plus/walletPassGallery/serve.js +17 -5
  247. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  248. package/lib/plus/walletPassGallery/utils.js +287 -0
  249. package/lib/pro/multiDayTimeSelect/MultiDayTimeSelect.d.ts +9 -0
  250. package/lib/pro/multiDayTimeSelect/MultiDayTimeSelect.js +290 -0
  251. package/lib/pro/multiDayTimeSelect/MultiDayTimeSelect.less +8 -0
  252. package/lib/pro/multiDayTimeSelect/index.d.ts +3 -0
  253. package/lib/{components/wallet/components → pro/multiDayTimeSelect}/index.js +6 -16
  254. package/lib/pro/multiDayTimeSelect/types.d.ts +28 -0
  255. package/lib/pro/multiDayTimeSelect/types.js +17 -0
  256. package/lib/pro/skuDetailModal/types.d.ts +1 -0
  257. package/lowcode/event-select-holder/meta.ts +2 -2
  258. package/lowcode/select-holder/meta.ts +220 -0
  259. package/lowcode/select-holder/snippets.ts +41 -0
  260. package/package.json +4 -4
  261. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
  262. package/es/components/wallet/Detail/index.d.ts +0 -42
  263. package/es/components/wallet/Detail/index.js +0 -1182
  264. package/es/components/wallet/Detail/index.less +0 -386
  265. package/es/components/wallet/Detail/locales.d.ts +0 -153
  266. package/es/components/wallet/Detail/locales.js +0 -170
  267. package/es/components/wallet/Detail/model.d.ts +0 -13
  268. package/es/components/wallet/Detail/model.js +0 -22
  269. package/es/components/wallet/Detail/serve.d.ts +0 -39
  270. package/es/components/wallet/DetailContext.d.ts +0 -25
  271. package/es/components/wallet/DetailContext.js +0 -162
  272. package/es/components/wallet/DiscountCard/index.d.ts +0 -3
  273. package/es/components/wallet/DiscountCard/index.js +0 -218
  274. package/es/components/wallet/DiscountCard/index.less +0 -9
  275. package/es/components/wallet/DiscountCard/model.d.ts +0 -14
  276. package/es/components/wallet/DiscountCard/model.js +0 -22
  277. package/es/components/wallet/PointCard/index.d.ts +0 -3
  278. package/es/components/wallet/PointCard/index.js +0 -169
  279. package/es/components/wallet/PointCard/index.less +0 -9
  280. package/es/components/wallet/PointCard/model.d.ts +0 -13
  281. package/es/components/wallet/PointCard/model.js +0 -22
  282. package/es/components/wallet/RechargeableCard/index.d.ts +0 -13
  283. package/es/components/wallet/RechargeableCard/index.js +0 -463
  284. package/es/components/wallet/RechargeableCard/index.less +0 -108
  285. package/es/components/wallet/RechargeableCard/model.d.ts +0 -29
  286. package/es/components/wallet/RechargeableCard/model.js +0 -28
  287. package/es/components/wallet/RechargeableCard/serve.d.ts +0 -23
  288. package/es/components/wallet/RechargeableCard/serve.js +0 -32
  289. package/es/components/wallet/Voucher/index.d.ts +0 -12
  290. package/es/components/wallet/Voucher/index.js +0 -131
  291. package/es/components/wallet/Voucher/index.less +0 -9
  292. package/es/components/wallet/Voucher/locales.d.ts +0 -21
  293. package/es/components/wallet/Voucher/locales.js +0 -20
  294. package/es/components/wallet/Voucher/model.d.ts +0 -13
  295. package/es/components/wallet/Voucher/model.js +0 -22
  296. package/es/components/wallet/carouselArrow.png +0 -0
  297. package/es/components/wallet/components/FooterButtons/index.d.ts +0 -18
  298. package/es/components/wallet/components/FooterButtons/index.js +0 -81
  299. package/es/components/wallet/components/FooterButtons/index.less +0 -91
  300. package/es/components/wallet/components/UsageRules/index.d.ts +0 -23
  301. package/es/components/wallet/components/UsageRules/index.js +0 -147
  302. package/es/components/wallet/components/UsageRules/index.less +0 -157
  303. package/es/components/wallet/components/WalletBar/index.d.ts +0 -8
  304. package/es/components/wallet/components/WalletBar/index.js +0 -19
  305. package/es/components/wallet/components/WalletBar/index.less +0 -36
  306. package/es/components/wallet/components/WalletCard.d.ts +0 -11
  307. package/es/components/wallet/components/WalletCard.js +0 -91
  308. package/es/components/wallet/components/index.d.ts +0 -3
  309. package/es/components/wallet/components/index.js +0 -4
  310. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -34
  311. package/es/components/wallet/hooks/useWalletCard.js +0 -147
  312. package/es/components/wallet/index.d.ts +0 -10
  313. package/es/components/wallet/index.js +0 -807
  314. package/es/components/wallet/index.less +0 -151
  315. package/es/components/wallet/locales.d.ts +0 -132
  316. package/es/components/wallet/locales.js +0 -139
  317. package/es/components/wallet/model.d.ts +0 -37
  318. package/es/components/wallet/model.js +0 -86
  319. package/es/components/wallet/serve.d.ts +0 -150
  320. package/es/components/wallet/serve.js +0 -205
  321. package/es/components/wallet/utils/formatUtils.d.ts +0 -36
  322. package/es/components/wallet/utils/formatUtils.js +0 -73
  323. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
  324. package/lib/components/wallet/Detail/index.d.ts +0 -42
  325. package/lib/components/wallet/Detail/index.js +0 -874
  326. package/lib/components/wallet/Detail/index.less +0 -386
  327. package/lib/components/wallet/Detail/locales.d.ts +0 -153
  328. package/lib/components/wallet/Detail/locales.js +0 -194
  329. package/lib/components/wallet/Detail/model.d.ts +0 -13
  330. package/lib/components/wallet/Detail/model.js +0 -43
  331. package/lib/components/wallet/Detail/serve.d.ts +0 -39
  332. package/lib/components/wallet/Detail/serve.js +0 -44
  333. package/lib/components/wallet/DetailContext.d.ts +0 -25
  334. package/lib/components/wallet/DetailContext.js +0 -118
  335. package/lib/components/wallet/DiscountCard/index.d.ts +0 -3
  336. package/lib/components/wallet/DiscountCard/index.js +0 -209
  337. package/lib/components/wallet/DiscountCard/index.less +0 -9
  338. package/lib/components/wallet/DiscountCard/model.d.ts +0 -14
  339. package/lib/components/wallet/DiscountCard/model.js +0 -43
  340. package/lib/components/wallet/PointCard/index.d.ts +0 -3
  341. package/lib/components/wallet/PointCard/index.js +0 -190
  342. package/lib/components/wallet/PointCard/index.less +0 -9
  343. package/lib/components/wallet/PointCard/model.d.ts +0 -13
  344. package/lib/components/wallet/RechargeableCard/index.d.ts +0 -13
  345. package/lib/components/wallet/RechargeableCard/index.js +0 -380
  346. package/lib/components/wallet/RechargeableCard/index.less +0 -108
  347. package/lib/components/wallet/RechargeableCard/model.d.ts +0 -29
  348. package/lib/components/wallet/RechargeableCard/model.js +0 -49
  349. package/lib/components/wallet/RechargeableCard/serve.d.ts +0 -23
  350. package/lib/components/wallet/Voucher/index.d.ts +0 -12
  351. package/lib/components/wallet/Voucher/index.js +0 -146
  352. package/lib/components/wallet/Voucher/index.less +0 -9
  353. package/lib/components/wallet/Voucher/locales.d.ts +0 -21
  354. package/lib/components/wallet/Voucher/model.d.ts +0 -13
  355. package/lib/components/wallet/Voucher/model.js +0 -43
  356. package/lib/components/wallet/carouselArrow.png +0 -0
  357. package/lib/components/wallet/components/FooterButtons/index.d.ts +0 -18
  358. package/lib/components/wallet/components/FooterButtons/index.js +0 -109
  359. package/lib/components/wallet/components/FooterButtons/index.less +0 -91
  360. package/lib/components/wallet/components/UsageRules/index.d.ts +0 -23
  361. package/lib/components/wallet/components/UsageRules/index.js +0 -113
  362. package/lib/components/wallet/components/UsageRules/index.less +0 -157
  363. package/lib/components/wallet/components/WalletBar/index.d.ts +0 -8
  364. package/lib/components/wallet/components/WalletBar/index.less +0 -36
  365. package/lib/components/wallet/components/WalletCard.d.ts +0 -11
  366. package/lib/components/wallet/components/WalletCard.js +0 -97
  367. package/lib/components/wallet/components/index.d.ts +0 -3
  368. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -34
  369. package/lib/components/wallet/hooks/useWalletCard.js +0 -111
  370. package/lib/components/wallet/index.d.ts +0 -10
  371. package/lib/components/wallet/index.js +0 -580
  372. package/lib/components/wallet/index.less +0 -151
  373. package/lib/components/wallet/locales.d.ts +0 -132
  374. package/lib/components/wallet/locales.js +0 -163
  375. package/lib/components/wallet/model.d.ts +0 -37
  376. package/lib/components/wallet/model.js +0 -91
  377. package/lib/components/wallet/serve.d.ts +0 -150
  378. package/lib/components/wallet/serve.js +0 -85
  379. package/lib/components/wallet/utils/formatUtils.d.ts +0 -36
  380. package/lib/components/wallet/utils/formatUtils.js +0 -73
@@ -10,7 +10,6 @@ import RuleSetting from './ruleSetting';
10
10
  import TaxSelect from './taxSelect';
11
11
  import ToCPay from './pay/toC';
12
12
  import WalletList from './walletList';
13
- import Wallet from './wallet';
14
13
  import WorkspaceListDetail from './workSpaceListDetail/';
15
14
  import WorkspaceList from './workSpaceList';
16
15
  import PisellSelectCustomerModal from './pisellSelectCustomerModal';
@@ -21,4 +20,4 @@ import PinModal from './pinModal';
21
20
  import PinVerifyModal from './pinVerifyModal';
22
21
  import { OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth } from './authentication/admin';
23
22
  import Registry from './systemSettings/registry';
24
- export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, EditBookingModal, StepController, PinModal, PinVerifyModal, OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth, Registry, };
23
+ export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, EditBookingModal, StepController, PinModal, PinVerifyModal, OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth, Registry, };
@@ -10,7 +10,6 @@ import RuleSetting from "./ruleSetting";
10
10
  import TaxSelect from "./taxSelect";
11
11
  import ToCPay from "./pay/toC";
12
12
  import WalletList from "./walletList";
13
- import Wallet from "./wallet";
14
13
  import WorkspaceListDetail from "./workSpaceListDetail/";
15
14
  import WorkspaceList from "./workSpaceList";
16
15
  import PisellSelectCustomerModal from "./pisellSelectCustomerModal";
@@ -21,4 +20,4 @@ import PinModal from "./pinModal";
21
20
  import PinVerifyModal from "./pinVerifyModal";
22
21
  import { OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth } from "./authentication/admin";
23
22
  import Registry from "./systemSettings/registry";
24
- export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, EditBookingModal, StepController, PinModal, PinVerifyModal, OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth, Registry };
23
+ export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, EditBookingModal, StepController, PinModal, PinVerifyModal, OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth, Registry };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  platform: 'pc' | 'h5' | '' | undefined;
4
3
  order: any;
@@ -30,11 +29,4 @@ export interface PayGroup {
30
29
  _order: any;
31
30
  front_order_uuid?: string;
32
31
  }
33
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
34
- state: FormState;
35
- } & {
36
- dispatch: (params: {
37
- type: string;
38
- payload: any;
39
- }) => void;
40
- }>;
32
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem, ScheduleItem } from "./type";
3
2
  import dayjs from "dayjs";
4
3
  export interface FormState {
@@ -69,11 +68,4 @@ export interface FormState {
69
68
  };
70
69
  setGlobalState: Function | null;
71
70
  }
72
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
- state: FormState;
74
- } & {
75
- dispatch: (params: {
76
- type: string;
77
- payload: any;
78
- }) => void;
79
- }>;
71
+ export declare const Provider: any, Context: any;
@@ -33,6 +33,7 @@ var Product = function Product(props) {
33
33
  platform = state.platform,
34
34
  isShowChangeResource = state.isShowChangeResource,
35
35
  isShowDelete = state.isShowDelete,
36
+ isShowAmountFooter = state.isShowAmountFooter,
36
37
  isShowChangeHolder = state.isShowChangeHolder,
37
38
  isShowHolder = state.isShowHolder,
38
39
  isShowAddHolderButton = state.isShowAddHolderButton,
@@ -75,15 +76,17 @@ var Product = function Product(props) {
75
76
  isShowDelete: isShowDelete,
76
77
  isShowHolder: isShowHolder,
77
78
  isShowAddHolderButton: isShowAddHolderButton,
78
- isShowEditProduct: isShowEditProduct
79
+ isShowEditProduct: isShowEditProduct,
80
+ isShowAmountFooter: isShowAmountFooter
79
81
  };
80
- }, [isShowNote, isShowPackageNote, disabledEdit, isShowChangeResource, isShowDelete, isShowHolder, isShowAddHolderButton, isShowChangeHolder, isShowEditProduct]);
82
+ }, [isShowNote, isShowPackageNote, disabledEdit, isShowChangeResource, isShowDelete, isShowHolder, isShowAddHolderButton, isShowChangeHolder, isShowEditProduct, isShowAmountFooter]);
81
83
  var getProductCardStyleProps = useMemoizedFn(function (type) {
82
84
  var conf = productCardStyleConfig["".concat(type, "_product_card_style")];
83
85
  if (state.scenario !== 'booking2') return {};
84
86
  return {
85
87
  isShowImage: conf === null || conf === void 0 ? void 0 : conf.show_product_image,
86
- isShowDelete: conf === null || conf === void 0 ? void 0 : conf.show_remove_button,
88
+ isShowDelete: (conf === null || conf === void 0 ? void 0 : conf.show_remove_button) && isShowDelete,
89
+ isShowAmountFooter: isShowAmountFooter,
87
90
  disabledEdit: true
88
91
  };
89
92
  });
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => import("react").JSX.Element;
4
3
  export default Empty;
@@ -29,6 +29,7 @@ export interface shoppingCartProps {
29
29
  isShowImage?: boolean;
30
30
  isShowHolder?: boolean;
31
31
  isShowDelete?: boolean;
32
+ isShowAmountFooter?: boolean;
32
33
  collapseParams?: CollapseProps;
33
34
  productParams?: productProps;
34
35
  isHideClearCart?: boolean;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { Dayjs } from 'dayjs';
3
+ import './MultiDayTimeSelectModal.less';
4
+ interface MultiDayTimeSelectModalProps {
5
+ open: boolean;
6
+ productName?: string;
7
+ locale?: string;
8
+ defaultStartDate?: Dayjs;
9
+ loading?: boolean;
10
+ /** 最大天数,默认30天 */
11
+ maxDays?: number;
12
+ /** 开始时间和结束时间是否分离 */
13
+ separateStartEnd?: boolean;
14
+ onConfirm: (startDate: Dayjs, endDate: Dayjs, duration: number) => void;
15
+ onCancel: () => void;
16
+ }
17
+ declare const MultiDayTimeSelectModal: React.FC<MultiDayTimeSelectModalProps>;
18
+ export default MultiDayTimeSelectModal;
@@ -2,63 +2,118 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2
2
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
3
3
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
4
4
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
5
- import { request } from "./../../../utils";
6
- /**
7
- * 资产明细列表
8
- * @param params 接口请求参数
9
- * @returns 资产明细列表
10
- */
11
- export var getAssetList = /*#__PURE__*/function () {
12
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
13
- var _yield$request$getReq, data;
14
- return _regeneratorRuntime().wrap(function _callee$(_context) {
15
- while (1) switch (_context.prev = _context.next) {
16
- case 0:
17
- _context.next = 2;
18
- return request.getRequest().get("/h5/pay/asset/lowcode/list", params);
19
- case 2:
20
- _yield$request$getReq = _context.sent;
21
- data = _yield$request$getReq.data;
22
- return _context.abrupt("return", data);
23
- case 5:
24
- case "end":
25
- return _context.stop();
26
- }
27
- }, _callee);
28
- }));
29
- return function getAssetList(_x) {
30
- return _ref.apply(this, arguments);
5
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
6
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
7
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
8
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
9
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
+ import React, { useState, useEffect, useRef } from 'react';
12
+ import dayjs from 'dayjs';
13
+ import { PisellModal } from '@pisell/materials';
14
+ import { locales } from '@pisell/utils';
15
+ import MultiDayTimeSelect from "../../../../pro/multiDayTimeSelect";
16
+ import "./MultiDayTimeSelectModal.less";
17
+ var MultiDayTimeSelectModal = function MultiDayTimeSelectModal(_ref) {
18
+ var open = _ref.open,
19
+ productName = _ref.productName,
20
+ _ref$locale = _ref.locale,
21
+ locale = _ref$locale === void 0 ? 'en' : _ref$locale,
22
+ defaultStartDate = _ref.defaultStartDate,
23
+ _ref$loading = _ref.loading,
24
+ loading = _ref$loading === void 0 ? false : _ref$loading,
25
+ _ref$maxDays = _ref.maxDays,
26
+ maxDays = _ref$maxDays === void 0 ? 30 : _ref$maxDays,
27
+ _ref$separateStartEnd = _ref.separateStartEnd,
28
+ separateStartEnd = _ref$separateStartEnd === void 0 ? false : _ref$separateStartEnd,
29
+ onConfirm = _ref.onConfirm,
30
+ onCancel = _ref.onCancel;
31
+ var _useState = useState(null),
32
+ _useState2 = _slicedToArray(_useState, 2),
33
+ value = _useState2[0],
34
+ setValue = _useState2[1];
35
+ var formRef = useRef(null);
36
+
37
+ // 初始化值
38
+ useEffect(function () {
39
+ if (open) {
40
+ var _startDate = defaultStartDate || dayjs();
41
+ var _endDate = _startDate.add(1, 'day');
42
+ var initialValue = {
43
+ startDate: _startDate,
44
+ endDate: _endDate,
45
+ duration: 1
46
+ };
47
+ setValue(initialValue);
48
+ }
49
+ }, [open, defaultStartDate]);
50
+
51
+ // 处理值变化
52
+ var handleChange = function handleChange(newValue) {
53
+ setValue(newValue);
31
54
  };
32
- }();
33
55
 
34
- /**
35
- * 获取资产详情
36
- * @param params 接口请求参数
37
- * @returns 资产详情
38
- */
39
- export var getDetailApi = /*#__PURE__*/function () {
40
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(params) {
41
- var _yield$request$getReq2, data;
42
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
43
- while (1) switch (_context2.prev = _context2.next) {
44
- case 0:
45
- _context2.next = 2;
46
- return request.getRequest().get("/h5/machinecode/lowcode/detail/".concat(params.id), {
47
- order_behavior_count: 1,
48
- // 订单行为次数
49
- order_behavior_count_customer: 1 // 客户订单行为次数
50
- });
51
- case 2:
52
- _yield$request$getReq2 = _context2.sent;
53
- data = _yield$request$getReq2.data;
54
- return _context2.abrupt("return", data);
55
- case 5:
56
- case "end":
57
- return _context2.stop();
58
- }
59
- }, _callee2);
60
- }));
61
- return function getDetailApi(_x2) {
62
- return _ref2.apply(this, arguments);
56
+ // 确认按钮
57
+ var handleConfirm = /*#__PURE__*/function () {
58
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
59
+ var _formRef$current;
60
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
61
+ while (1) switch (_context.prev = _context.next) {
62
+ case 0:
63
+ _context.prev = 0;
64
+ _context.next = 3;
65
+ return (_formRef$current = formRef.current) === null || _formRef$current === void 0 ? void 0 : _formRef$current.validate();
66
+ case 3:
67
+ if (value) {
68
+ onConfirm(value.startDate, value.endDate, value.duration);
69
+ }
70
+ _context.next = 8;
71
+ break;
72
+ case 6:
73
+ _context.prev = 6;
74
+ _context.t0 = _context["catch"](0);
75
+ case 8:
76
+ case "end":
77
+ return _context.stop();
78
+ }
79
+ }, _callee, null, [[0, 6]]);
80
+ }));
81
+ return function handleConfirm() {
82
+ return _ref2.apply(this, arguments);
83
+ };
84
+ }();
85
+
86
+ // 取消按钮
87
+ var handleCancel = function handleCancel() {
88
+ if (loading) return; // loading 时不允许取消
89
+ onCancel();
63
90
  };
64
- }();
91
+ return /*#__PURE__*/React.createElement(PisellModal, {
92
+ open: open,
93
+ title: productName || locales.getText('pisell2.text.product_name'),
94
+ onCancel: handleCancel,
95
+ onOk: handleConfirm,
96
+ okText: locales.getText('pisell2.text.confirm'),
97
+ cancelText: locales.getText('pisell2.text.cancel'),
98
+ width: 600,
99
+ destroyOnClose: true,
100
+ confirmLoading: loading,
101
+ closable: !loading,
102
+ maskClosable: !loading,
103
+ headerDivider: false,
104
+ footerDivider: false,
105
+ cancelButtonProps: {
106
+ disabled: loading
107
+ }
108
+ }, /*#__PURE__*/React.createElement(MultiDayTimeSelect, {
109
+ ref: formRef,
110
+ maxDays: maxDays,
111
+ defaultStartDate: defaultStartDate,
112
+ separateStartEnd: separateStartEnd,
113
+ value: value || undefined,
114
+ onChange: handleChange,
115
+ locale: locale,
116
+ disabled: loading
117
+ }));
118
+ };
119
+ export default MultiDayTimeSelectModal;
@@ -23,18 +23,19 @@ import { useMemoizedFn } from 'ahooks';
23
23
  import useEngineContext, { usePlatform } from "../../../../hooks/useEngineContext";
24
24
  import { isSessionProduct, request, getProductTotalPrice, getIsEject, getIsOnlySession } from "../../../booking/utils";
25
25
  import { getProductExtend } from "../../../booking/info2/service/addService/utils";
26
- import { holderId, isDaysBooking, isNormalProductByDurationSchedule } from "../../../booking/info/service2/utils";
26
+ import { holderId, isNormalProductByDurationSchedule } from "../../../booking/info/service2/utils";
27
27
  import { isBooking4Shop } from "../../../booking/info/utils";
28
28
  import { useService } from "../../../booking/info/service/serviceManager";
29
29
  import ProductDisplayAdapter, { resolveProductDisplayConfig } from "../ProductDisplayAdapter";
30
30
  import "./index.less";
31
- import { addService, addServiceScroll, genServiceKey, getIsShowNumber, isSameProduct } from "../../utils";
31
+ import { addService, addServiceScroll, genHolderKey, genServiceKey, getIsShowNumber, isSameProduct } from "../../utils";
32
32
  import NotAvailable from "../notAvailable";
33
33
  import dayjs from 'dayjs';
34
34
  import { useProducts } from "../../hooks/pisellos";
35
35
  import { createCacheItem, genValues, isBundle, isOption, setHandleSetService } from "./utils";
36
36
  import { useToast } from '@pisell/materials';
37
37
  import { useIsActive } from "../../context/IsActiveContext";
38
+ import { SelectHolderModal } from "../../../booking/utils/selectHolderModal";
38
39
  var productListLayout = {
39
40
  grid: true,
40
41
  config: '12:12'
@@ -80,6 +81,18 @@ var AddSerivce = function AddSerivce(props) {
80
81
  _useState4 = _slicedToArray(_useState3, 2),
81
82
  firstLoading = _useState4[0],
82
83
  setFirstLoading = _useState4[1];
84
+ var _useState5 = useState(false),
85
+ _useState6 = _slicedToArray(_useState5, 2),
86
+ multiDayModalOpen = _useState6[0],
87
+ setMultiDayModalOpen = _useState6[1];
88
+ var _useState7 = useState(false),
89
+ _useState8 = _slicedToArray(_useState7, 2),
90
+ multiDayModalLoading = _useState8[0],
91
+ setMultiDayModalLoading = _useState8[1];
92
+ var _useState9 = useState(null),
93
+ _useState10 = _slicedToArray(_useState9, 2),
94
+ pendingMultiDayData = _useState10[0],
95
+ setPendingMultiDayData = _useState10[1];
83
96
  var stateRef = useRef(state);
84
97
  stateRef.current = state;
85
98
  var prerenderCompletedRef = useRef(false);
@@ -180,6 +193,7 @@ var AddSerivce = function AddSerivce(props) {
180
193
  var values = genValues(item, code);
181
194
  var cacheItem = createCacheItem(item, values, stateRef.current);
182
195
  cacheItem._serviceKey = genServiceKey(cacheItem);
196
+ cacheItem._holderKey = genHolderKey(cacheItem);
183
197
  cacheItem.autoClose = false;
184
198
  var _addService = addService(_toConsumableArray(newService), cacheItem, stateRef.current),
185
199
  _list = _addService.list,
@@ -899,7 +913,7 @@ var AddSerivce = function AddSerivce(props) {
899
913
  debouncedExecuteCacheValues(productId, cacheValues, item, callback);
900
914
  return;
901
915
  }
902
- state.action({
916
+ state.action({
903
917
  type: 'pisell1.handleOpenProductModal',
904
918
  data: {
905
919
  id: item.id,
@@ -926,16 +940,6 @@ var AddSerivce = function AddSerivce(props) {
926
940
  */
927
941
  var renderList = useMemo(function () {
928
942
  var _list = products || [];
929
-
930
- // 跨日预约
931
- if (isDaysBooking(state)) {
932
- // 公共购物车下过滤掉预约商品
933
- if (!holderId(state)) {
934
- _list = _list.filter(function (item) {
935
- return isNormalProductByDurationSchedule(item);
936
- });
937
- }
938
- }
939
943
  return _list;
940
944
  }, [products, state === null || state === void 0 ? void 0 : state.activeCartId]);
941
945
  var currentDate = useMemo(function () {
@@ -995,9 +999,9 @@ var AddSerivce = function AddSerivce(props) {
995
999
  onSelectProduct: handleSelectProduct
996
1000
  }), /*#__PURE__*/React.createElement(NotAvailable, {
997
1001
  ref: notAvailableRef
998
- }));
1002
+ }), /*#__PURE__*/React.createElement(SelectHolderModal, null));
999
1003
  }
1000
1004
  return null;
1001
- }, [firstLoading, state.service.addModal, locales, renderList, state.amountSymbol, state.renderType, state === null || state === void 0 ? void 0 : state.activeCartId, holderId(state), loading, currentProduct, isBooking4, finalDisplayConfig]);
1005
+ }, [firstLoading, state.service.addModal, locales, renderList, state.amountSymbol, state.renderType, state === null || state === void 0 ? void 0 : state.activeCartId, holderId(state), loading, currentProduct, isBooking4, finalDisplayConfig, multiDayModalOpen, pendingMultiDayData, multiDayModalLoading]);
1002
1006
  };
1003
1007
  export default AddSerivce;
@@ -21,6 +21,10 @@ var AddServiceVariant = function AddServiceVariant(props) {
21
21
  setGlobalState({
22
22
  service: _objectSpread(_objectSpread({}, stateRef.current.service), payload)
23
23
  });
24
+ } else if (type === 'setPet') {
25
+ setGlobalState({
26
+ pet: _objectSpread(_objectSpread({}, stateRef.current.pet), payload)
27
+ });
24
28
  }
25
29
  };
26
30
  return /*#__PURE__*/React.createElement(AddService, {
@@ -710,17 +710,20 @@ var TicketBooking = function TicketBooking(props) {
710
710
  _getProducts(date);
711
711
  }
712
712
  setTimeout(function () {
713
- var _state$modalState$ser;
714
- if ((_state$modalState$ser = state.modalState.service) !== null && _state$modalState$ser !== void 0 && (_state$modalState$ser = _state$modalState$ser.value) !== null && _state$modalState$ser !== void 0 && _state$modalState$ser.length) {
715
- var _state$bookingFunctio, _state$bookingFunctio2, _state$modalState$ser2;
716
- var _list = (_state$bookingFunctio = state.bookingFunctions) === null || _state$bookingFunctio === void 0 || (_state$bookingFunctio2 = _state$bookingFunctio.updateServiceDate) === null || _state$bookingFunctio2 === void 0 ? void 0 : _state$bookingFunctio2.call(_state$bookingFunctio, (_state$modalState$ser2 = state.modalState.service) === null || _state$modalState$ser2 === void 0 ? void 0 : _state$modalState$ser2.value, date, false);
717
- _setModalState({
718
- service: _objectSpread(_objectSpread({}, state.modalState.service), {}, {
719
- value: _list,
720
- edit: true
721
- })
722
- });
723
- }
713
+ // if (state.modalState.service?.value?.length) {
714
+ // let _list = state.bookingFunctions?.updateServiceDate?.(
715
+ // state.modalState.service?.value,
716
+ // date,
717
+ // false
718
+ // );
719
+ // _setModalState({
720
+ // service: {
721
+ // ...state.modalState.service,
722
+ // value: _list,
723
+ // edit: true,
724
+ // },
725
+ // });
726
+ // }
724
727
  }, 100);
725
728
  };
726
729
  var _setShopOpeningHours = function _setShopOpeningHours() {
@@ -15,15 +15,21 @@ export declare const restoreProductOtherData: (data: any) => {
15
15
  quantity: number;
16
16
  } | undefined;
17
17
  export declare const isSameProduct: (a: any, b: any) => boolean;
18
- export declare const addService: (list: any[], addItem: any, state: any) => {
18
+ export declare const addService: (list: any[], addItem: any, state: any, isMultiDay?: boolean) => {
19
+ list: any[];
20
+ count: number;
21
+ quantity?: undefined;
22
+ } | {
19
23
  list: any[];
20
24
  quantity: any;
25
+ count?: undefined;
21
26
  };
22
27
  export declare const addServiceScroll: (rowKey: string, cacheItem: any) => void;
23
28
  export declare const getCartProductOverlay: (state: any) => any;
24
29
  export declare const getIsOverlayProduct: (item: any, state: any) => any;
25
30
  export declare const getIsShowNumber: (item: any, state: any) => any;
26
31
  export declare const genServiceKey: (item: any) => string;
32
+ export declare const genHolderKey: (item: any) => string;
27
33
  export declare const getIsParallelResourcesBooking: (record: any) => boolean;
28
34
  declare type ScanData = {
29
35
  type: string;
@@ -41,7 +47,7 @@ declare type ScanData = {
41
47
  };
42
48
  };
43
49
  export declare const formatScanCustomer: (data: ScanData) => {
44
- searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
50
+ searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
45
51
  data: any;
46
52
  scanCode: string;
47
53
  } | null;
@@ -73,6 +79,8 @@ export declare const rulesHooks: {
73
79
  num: any;
74
80
  quantity: any;
75
81
  vouchersApplicable: any;
82
+ holder_id: any;
83
+ isNormalProduct: any;
76
84
  startDate: any;
77
85
  bundle: any;
78
86
  options: any;
@@ -20,6 +20,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
20
20
  import dayjs from 'dayjs';
21
21
  import { isNormalProductByDurationSchedule } from "../../booking/info/service2/utils";
22
22
  import { isArr, getUniqueId } from '@pisell/utils';
23
+ import { isMultiDayProduct } from "../../booking/info2/service/addService/utils";
23
24
 
24
25
  /** dayjs对象格式化为字符串时间 */
25
26
  export var formatDateToStr = function formatDateToStr(date) {
@@ -135,11 +136,20 @@ export var isSameProduct = function isSameProduct(a, b) {
135
136
  var _a$_extend, _b$_extend;
136
137
  return ((_a$_extend = a._extend) === null || _a$_extend === void 0 || (_a$_extend = _a$_extend.other) === null || _a$_extend === void 0 ? void 0 : _a$_extend.rowKey) === ((_b$_extend = b._extend) === null || _b$_extend === void 0 || (_b$_extend = _b$_extend.other) === null || _b$_extend === void 0 ? void 0 : _b$_extend.rowKey);
137
138
  }
138
- return ((_a$_extend2 = a._extend) === null || _a$_extend2 === void 0 || (_a$_extend2 = _a$_extend2.other) === null || _a$_extend2 === void 0 ? void 0 : _a$_extend2.rowKey) === ((_b$_extend2 = b._extend) === null || _b$_extend2 === void 0 || (_b$_extend2 = _b$_extend2.other) === null || _b$_extend2 === void 0 ? void 0 : _b$_extend2.rowKey) && a._serviceKey === b._serviceKey;
139
+ return ((_a$_extend2 = a._extend) === null || _a$_extend2 === void 0 || (_a$_extend2 = _a$_extend2.other) === null || _a$_extend2 === void 0 ? void 0 : _a$_extend2.rowKey) === ((_b$_extend2 = b._extend) === null || _b$_extend2 === void 0 || (_b$_extend2 = _b$_extend2.other) === null || _b$_extend2 === void 0 ? void 0 : _b$_extend2.rowKey) && a._serviceKey === b._serviceKey && a._holderKey === b._holderKey;
139
140
  };
140
- export var addService = function addService(list, addItem, state) {
141
+ export var addService = function addService(list, addItem, state, isMultiDay) {
141
142
  var value = list;
142
143
  var count;
144
+
145
+ // 跨日预约 不需要叠加
146
+ if (isMultiDay && isArr(addItem)) {
147
+ return {
148
+ list: [].concat(_toConsumableArray(addItem), _toConsumableArray(value)),
149
+ count: 1
150
+ };
151
+ }
152
+
143
153
  // 预约商品 并且配置商品卡片不叠加 直接添加
144
154
  if (!isNormalProductByDurationSchedule(addItem) && !getIsOverlayProduct(addItem, state)) {
145
155
  // 不能合并的商品,如果 quantity > 1,需要拆分成多个独立卡片
@@ -261,6 +271,10 @@ export var getIsOverlayProduct = function getIsOverlayProduct(item, state) {
261
271
  // 获取购物车商品是否显示数量
262
272
  export var getIsShowNumber = function getIsShowNumber(item, state) {
263
273
  var isBookingTicket2 = state.isBookingTicket2;
274
+ // 跨日商品不允许选多个
275
+ if (isMultiDayProduct(item)) {
276
+ return false;
277
+ }
264
278
  return isNormalProductByDurationSchedule(item) || isBookingTicket2 && getIsOverlayProduct(item, state);
265
279
  };
266
280
 
@@ -279,7 +293,21 @@ export var genServiceKey = function genServiceKey(item) {
279
293
  });
280
294
  return "".concat(product_id, "-").concat(durationKey, "-").concat(resourceKey, "-").concat(start_time, "-").concat(total);
281
295
  };
282
-
296
+ //
297
+ // 生成 holder key
298
+ export var genHolderKey = function genHolderKey(item) {
299
+ var _item$_extend7;
300
+ var product_id = item.product_id;
301
+ var holder_id;
302
+ if (isArr((_item$_extend7 = item._extend) === null || _item$_extend7 === void 0 ? void 0 : _item$_extend7.holder_id)) {
303
+ var _item$_extend8;
304
+ holder_id = (_item$_extend8 = item._extend) === null || _item$_extend8 === void 0 ? void 0 : _item$_extend8.holder_id.join('-');
305
+ } else {
306
+ var _item$_extend9;
307
+ holder_id = (_item$_extend9 = item._extend) === null || _item$_extend9 === void 0 ? void 0 : _item$_extend9.holder_id;
308
+ }
309
+ return "".concat(product_id, "-").concat(holder_id);
310
+ };
283
311
  // 是否是平行资源预约
284
312
  export var getIsParallelResourcesBooking = function getIsParallelResourcesBooking(record) {
285
313
  return (record === null || record === void 0 ? void 0 : record.relation_id) === 0 && (record === null || record === void 0 ? void 0 : record.relation_type) === "";
@@ -375,7 +403,7 @@ export var getShopDiscountKey = function getShopDiscountKey(osKey) {
375
403
  export var rulesHooks = {
376
404
  // 获取商品关键信息
377
405
  getProduct: function getProduct(product) {
378
- var _product$_extend, _product$_extend2, _product$_extend3;
406
+ var _product$_extend, _product$_extend2, _product$_extend3, _product$_extend4, _product$_extend5;
379
407
  var detail = {
380
408
  booking_id: product.booking_id,
381
409
  id: product.id,
@@ -387,9 +415,11 @@ export var rulesHooks = {
387
415
  num: product._extend.quantity,
388
416
  quantity: product._extend.quantity || 1,
389
417
  vouchersApplicable: product.vouchersApplicable,
390
- startDate: (_product$_extend = product._extend) === null || _product$_extend === void 0 ? void 0 : _product$_extend.startDate,
391
- bundle: ((_product$_extend2 = product._extend) === null || _product$_extend2 === void 0 || (_product$_extend2 = _product$_extend2.other) === null || _product$_extend2 === void 0 ? void 0 : _product$_extend2.bundle) || [],
392
- options: ((_product$_extend3 = product._extend) === null || _product$_extend3 === void 0 || (_product$_extend3 = _product$_extend3.other) === null || _product$_extend3 === void 0 ? void 0 : _product$_extend3.option) || []
418
+ holder_id: (_product$_extend = product._extend) === null || _product$_extend === void 0 ? void 0 : _product$_extend.holder_id,
419
+ isNormalProduct: (_product$_extend2 = product._extend) === null || _product$_extend2 === void 0 ? void 0 : _product$_extend2.isNormalProduct,
420
+ startDate: (_product$_extend3 = product._extend) === null || _product$_extend3 === void 0 ? void 0 : _product$_extend3.startDate,
421
+ bundle: ((_product$_extend4 = product._extend) === null || _product$_extend4 === void 0 || (_product$_extend4 = _product$_extend4.other) === null || _product$_extend4 === void 0 ? void 0 : _product$_extend4.bundle) || [],
422
+ options: ((_product$_extend5 = product._extend) === null || _product$_extend5 === void 0 || (_product$_extend5 = _product$_extend5.other) === null || _product$_extend5 === void 0 ? void 0 : _product$_extend5.option) || []
393
423
  };
394
424
  return detail;
395
425
  },
@@ -1,28 +1,4 @@
1
1
  import React from 'react';
2
2
  import './index.less';
3
- declare module 'react' {
4
- interface HTMLAttributes<T> {
5
- role?: string;
6
- }
7
- }
8
- declare global {
9
- namespace JSX {
10
- interface IntrinsicElements {
11
- div: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
12
- children?: React.ReactNode;
13
- onClick?: React.MouseEventHandler<HTMLDivElement>;
14
- onMouseDown?: React.MouseEventHandler<HTMLDivElement>;
15
- onMouseUp?: React.MouseEventHandler<HTMLDivElement>;
16
- onTouchStart?: React.TouchEventHandler<HTMLDivElement>;
17
- onTouchEnd?: React.TouchEventHandler<HTMLDivElement>;
18
- role?: string;
19
- };
20
- img: React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
21
- span: React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> & {
22
- children?: React.ReactNode;
23
- };
24
- }
25
- }
26
- }
27
3
  declare const WalletList: (props: any) => React.JSX.Element;
28
4
  export default WalletList;