@pisell/private-materials 6.3.70 → 6.3.72

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 (312) 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 +8 -8
  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 +9 -9
  11. package/es/components/Sales/Cart/index.js +20 -3
  12. package/es/components/Sales/Cart/utils.d.ts +5 -0
  13. package/es/components/Sales/Cart/utils.js +16 -0
  14. package/es/components/Sales/Summary/utils.js +5 -4
  15. package/es/components/booking/addons/model.d.ts +1 -10
  16. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  17. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  18. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  19. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  20. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  21. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  22. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  23. package/es/components/booking/components/voucher/index.js +8 -7
  24. package/es/components/booking/forms/model.d.ts +1 -10
  25. package/es/components/booking/forms/single/index.d.ts +0 -1
  26. package/es/components/booking/forms/table/index.d.ts +0 -1
  27. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  28. package/es/components/booking/info/date/index.d.ts +0 -1
  29. package/es/components/booking/info/model.d.ts +1 -10
  30. package/es/components/booking/info/notes/index.d.ts +0 -1
  31. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  32. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  33. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  34. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  35. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  36. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  37. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  38. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  39. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  40. package/es/components/booking/model.d.ts +1 -9
  41. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  42. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  43. package/es/components/booking/notes/model.d.ts +1 -10
  44. package/es/components/booking/payments/model.d.ts +1 -10
  45. package/es/components/booking/utils.d.ts +2 -2
  46. package/es/components/eftpos/index.d.ts +0 -1
  47. package/es/components/eftpos/pos.d.ts +0 -1
  48. package/es/components/eftposPay/amount.d.ts +1 -2
  49. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  50. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  51. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  52. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  53. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  54. package/es/components/eftposPay/device.d.ts +1 -1
  55. package/es/components/eftposPay/hooks.d.ts +2 -2
  56. package/es/components/eftposPay/pay.d.ts +0 -1
  57. package/es/components/eftposPay/payo/config.d.ts +0 -1
  58. package/es/components/eftposPay/store/index.d.ts +4 -4
  59. package/es/components/eftposPay/tip.d.ts +0 -1
  60. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  61. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  62. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  63. package/es/components/eventBooking/components/Provider/Cart/Item/index.js +2 -1
  64. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  65. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  66. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  67. package/es/components/eventBooking/components/Voucher/components/Voucher.d.ts +20 -0
  68. package/es/components/eventBooking/components/Voucher/components/Voucher.js +99 -0
  69. package/es/components/eventBooking/components/Voucher/components/index.less +124 -0
  70. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  71. package/es/components/eventBooking/components/Voucher/components/locales.js +38 -0
  72. package/es/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  73. package/es/components/eventBooking/components/Voucher/hooks.js +212 -0
  74. package/es/components/eventBooking/components/Voucher/index.d.ts +2 -0
  75. package/es/components/eventBooking/components/Voucher/index.js +266 -0
  76. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  77. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  78. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  79. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  80. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  81. package/es/components/kioskSkuDetail/index.d.ts +39 -0
  82. package/es/components/kioskSkuDetail/index.js +531 -0
  83. package/es/components/kioskSkuDetail/index.less +196 -0
  84. package/es/components/kioskSkuDetail/locales.d.ts +27 -0
  85. package/es/components/kioskSkuDetail/locales.js +26 -0
  86. package/es/components/login/index.d.ts +0 -1
  87. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +5 -0
  88. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  89. package/es/components/pay/toC/model.d.ts +1 -9
  90. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  91. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  92. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  93. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  94. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  95. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  96. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  97. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  98. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  99. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  100. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  101. package/es/components/schedules/calendar/index.d.ts +0 -1
  102. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  103. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  104. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  105. package/es/components/schedules/model.d.ts +1 -9
  106. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  107. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  108. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  109. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  110. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  111. package/es/components/schedules/products/index.d.ts +0 -1
  112. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  113. package/es/components/schedules/products/list/index.d.ts +0 -1
  114. package/es/components/schedules/resources/index.d.ts +0 -1
  115. package/es/components/schedules/resources/list/index.d.ts +0 -1
  116. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  117. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  118. package/es/components/schedules/schedules/index.d.ts +0 -1
  119. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  120. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  121. package/es/components/shoppingCart/index.d.ts +0 -1
  122. package/es/components/walletList/index.js +7 -2
  123. package/es/hooks/usePaymentLogger.d.ts +0 -1
  124. package/es/index.d.ts +3 -1
  125. package/es/index.js +3 -1
  126. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  127. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  128. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  129. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  130. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  131. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  132. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  133. package/es/plus/skuOptionsSelection/components/VariantCard/index.js +30 -1
  134. package/es/plus/skuOptionsSelection/components/VariantCard/index.less +10 -0
  135. package/es/plus/skuOptionsSelection/locales.d.ts +3 -0
  136. package/es/plus/skuOptionsSelection/locales.js +3 -0
  137. package/es/plus/skuOptionsSelection/store/actions.js +17 -2
  138. package/es/plus/skuOptionsSelection/types.d.ts +5 -0
  139. package/es/plus/skuOptionsSelection/types.js +2 -1
  140. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +70 -3
  141. package/es/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  142. package/es/plus/walletPassGallery/components/passDetail/index.js +6 -5
  143. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
  144. package/es/plus/walletPassGallery/components/timelineSection/index.js +9 -3
  145. package/es/plus/walletPassGallery/index.js +2 -2
  146. package/es/plus/walletPassGallery/serve.d.ts +8 -0
  147. package/es/plus/walletPassGallery/serve.js +78 -52
  148. package/es/pro/Selector/Selector.d.ts +1 -1
  149. package/es/pro/numberKeyboard/index.d.ts +28 -0
  150. package/es/pro/numberKeyboard/index.js +155 -0
  151. package/es/pro/numberKeyboard/index.less +25 -0
  152. package/es/pro/numberKeyboard/locales.d.ts +12 -0
  153. package/es/pro/numberKeyboard/locales.js +11 -0
  154. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  155. package/es/pro/pisellNumberSelector/example.js +68 -0
  156. package/es/pro/pisellNumberSelector/index.d.ts +29 -0
  157. package/es/pro/pisellNumberSelector/index.js +257 -0
  158. package/es/pro/pisellNumberSelector/index.less +235 -0
  159. package/es/pro/skuDetailModal/index.d.ts +4 -0
  160. package/es/pro/skuDetailModal/index.js +1031 -0
  161. package/lib/components/Sales/Cart/index.js +25 -7
  162. package/lib/components/Sales/Cart/utils.d.ts +5 -0
  163. package/lib/components/Sales/Cart/utils.js +13 -1
  164. package/lib/components/Sales/Summary/utils.js +2 -4
  165. package/lib/components/booking/addons/model.d.ts +1 -10
  166. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  167. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  168. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  169. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  170. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  171. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  172. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  173. package/lib/components/booking/components/voucher/index.js +0 -1
  174. package/lib/components/booking/forms/model.d.ts +1 -10
  175. package/lib/components/booking/forms/single/index.d.ts +0 -1
  176. package/lib/components/booking/forms/table/index.d.ts +0 -1
  177. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  178. package/lib/components/booking/info/date/index.d.ts +0 -1
  179. package/lib/components/booking/info/model.d.ts +1 -10
  180. package/lib/components/booking/info/notes/index.d.ts +0 -1
  181. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  182. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  183. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  184. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  185. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  186. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  187. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  188. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  189. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  190. package/lib/components/booking/model.d.ts +1 -9
  191. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  192. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  193. package/lib/components/booking/notes/model.d.ts +1 -10
  194. package/lib/components/booking/payments/model.d.ts +1 -10
  195. package/lib/components/booking/utils.d.ts +2 -2
  196. package/lib/components/eftpos/index.d.ts +0 -1
  197. package/lib/components/eftpos/pos.d.ts +0 -1
  198. package/lib/components/eftposPay/amount.d.ts +1 -2
  199. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  200. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  201. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  202. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  203. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  204. package/lib/components/eftposPay/device.d.ts +1 -1
  205. package/lib/components/eftposPay/hooks.d.ts +2 -2
  206. package/lib/components/eftposPay/pay.d.ts +0 -1
  207. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  208. package/lib/components/eftposPay/store/index.d.ts +4 -4
  209. package/lib/components/eftposPay/tip.d.ts +0 -1
  210. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  211. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  212. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  213. package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +2 -1
  214. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  215. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  216. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  217. package/lib/components/eventBooking/components/Voucher/components/Voucher.d.ts +20 -0
  218. package/lib/components/eventBooking/components/Voucher/components/Voucher.js +116 -0
  219. package/lib/components/eventBooking/components/Voucher/components/index.less +124 -0
  220. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  221. package/lib/components/eventBooking/components/Voucher/components/locales.js +59 -0
  222. package/lib/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  223. package/lib/components/eventBooking/components/Voucher/hooks.js +176 -0
  224. package/lib/components/eventBooking/components/Voucher/index.d.ts +2 -0
  225. package/lib/components/eventBooking/components/Voucher/index.js +197 -0
  226. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  227. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  228. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  229. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  230. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  231. package/lib/components/kioskSkuDetail/index.d.ts +39 -0
  232. package/lib/components/kioskSkuDetail/index.js +393 -0
  233. package/lib/components/kioskSkuDetail/index.less +196 -0
  234. package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
  235. package/lib/components/kioskSkuDetail/locales.js +50 -0
  236. package/lib/components/login/index.d.ts +0 -1
  237. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +5 -0
  238. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  239. package/lib/components/pay/toC/model.d.ts +1 -9
  240. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  241. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  242. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  243. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  244. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  245. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  246. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  247. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  248. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  249. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  250. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  251. package/lib/components/schedules/calendar/index.d.ts +0 -1
  252. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  253. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  254. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  255. package/lib/components/schedules/model.d.ts +1 -9
  256. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  257. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  258. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  259. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  260. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  261. package/lib/components/schedules/products/index.d.ts +0 -1
  262. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  263. package/lib/components/schedules/products/list/index.d.ts +0 -1
  264. package/lib/components/schedules/resources/index.d.ts +0 -1
  265. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  266. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  267. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  268. package/lib/components/schedules/schedules/index.d.ts +0 -1
  269. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  270. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  271. package/lib/components/shoppingCart/index.d.ts +0 -1
  272. package/lib/components/walletList/index.js +5 -1
  273. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  274. package/lib/index.d.ts +3 -1
  275. package/lib/index.js +7 -1
  276. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  277. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  278. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  279. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  280. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  281. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  282. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  283. package/lib/plus/skuOptionsSelection/components/VariantCard/index.js +32 -3
  284. package/lib/plus/skuOptionsSelection/components/VariantCard/index.less +10 -0
  285. package/lib/plus/skuOptionsSelection/locales.d.ts +3 -0
  286. package/lib/plus/skuOptionsSelection/locales.js +3 -0
  287. package/lib/plus/skuOptionsSelection/store/actions.js +25 -1
  288. package/lib/plus/skuOptionsSelection/types.d.ts +5 -0
  289. package/lib/plus/skuOptionsSelection/types.js +2 -1
  290. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +51 -5
  291. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  292. package/lib/plus/walletPassGallery/components/passDetail/index.js +24 -6
  293. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
  294. package/lib/plus/walletPassGallery/components/timelineSection/index.js +17 -10
  295. package/lib/plus/walletPassGallery/index.js +2 -2
  296. package/lib/plus/walletPassGallery/serve.d.ts +8 -0
  297. package/lib/plus/walletPassGallery/serve.js +23 -10
  298. package/lib/pro/Selector/Selector.d.ts +1 -1
  299. package/lib/pro/numberKeyboard/index.d.ts +28 -0
  300. package/lib/pro/numberKeyboard/index.js +182 -0
  301. package/lib/pro/numberKeyboard/index.less +25 -0
  302. package/lib/pro/numberKeyboard/locales.d.ts +12 -0
  303. package/lib/pro/numberKeyboard/locales.js +35 -0
  304. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  305. package/lib/pro/pisellNumberSelector/example.js +93 -0
  306. package/lib/pro/pisellNumberSelector/index.d.ts +29 -0
  307. package/lib/pro/pisellNumberSelector/index.js +275 -0
  308. package/lib/pro/pisellNumberSelector/index.less +235 -0
  309. package/lib/pro/skuDetailModal/index.d.ts +4 -0
  310. package/lib/pro/skuDetailModal/index.js +736 -0
  311. package/lowcode/kiosk-sku-detail/meta.ts +264 -0
  312. package/package.json +3 -3
@@ -225,7 +225,7 @@ var CartProvider = ({ children }) => {
225
225
  });
226
226
  };
227
227
  const createCartItemData = () => {
228
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
228
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
229
229
  const _cartData = getCurrentData().cartData;
230
230
  if (_cartData.currentCartItem) {
231
231
  const {
@@ -241,16 +241,24 @@ var CartProvider = ({ children }) => {
241
241
  const endDateInfo = (_g = (_f = eventItem == null ? void 0 : eventItem.eventDetail) == null ? void 0 : _f.selectDate) == null ? void 0 : _g.endDateInfo;
242
242
  const endTime = (_j = (_i = (_h = endDateInfo == null ? void 0 : endDateInfo.times) == null ? void 0 : _h.slice(-1)) == null ? void 0 : _i[0]) == null ? void 0 : _j.end_at;
243
243
  const num = 1;
244
- const { totalPrice, originTotal, is_charge_tax } = (0, import_utils3.handleProductInfo)(
244
+ const { price, totalPrice, originTotal, is_charge_tax } = (0, import_utils3.handleProductInfo)(
245
245
  eventDetail,
246
246
  num
247
247
  );
248
+ const transformProduct = (_temp) => {
249
+ var _a2;
250
+ if (!((_a2 = _temp == null ? void 0 : _temp.variant) == null ? void 0 : _a2.length)) {
251
+ return { ..._temp || {}, variant: [] };
252
+ }
253
+ return _temp;
254
+ };
248
255
  const newCartItem = {
249
256
  _id,
250
257
  id: eventItem.id,
251
258
  name: eventItem.title,
252
- price: totalPrice,
259
+ price,
253
260
  // eventBooking中售价和总价保持一致,因为数量为1
261
+ origin_price: price,
254
262
  total: totalPrice,
255
263
  // 排除原始价格为0的场景
256
264
  origin_total: isNaN(originTotal) || originTotal === 0 ? void 0 : originTotal,
@@ -271,6 +279,10 @@ var CartProvider = ({ children }) => {
271
279
  end_time: endTime ? (0, import_dayjs.default)(endTime || "").format("HH:mm") : "",
272
280
  custom_day_count: ((_m = (_l = (_k = eventItem == null ? void 0 : eventItem.eventDetail) == null ? void 0 : _k.selectDate) == null ? void 0 : _l.dates) == null ? void 0 : _m.length) || 0,
273
281
  is_charge_tax,
282
+ selectedBundle: (_n = eventDetail == null ? void 0 : eventDetail.productDetail) == null ? void 0 : _n.bundle,
283
+ selectedOptions: (_o = eventDetail == null ? void 0 : eventDetail.productDetail) == null ? void 0 : _o.options,
284
+ isNormalProduct: true,
285
+ // 是否是普通商品,eventBooking中接入的都是普通商品
274
286
  _originData: {
275
287
  ..._cartData.currentCartItem._originData,
276
288
  product: {
@@ -293,16 +305,22 @@ var CartProvider = ({ children }) => {
293
305
  event_unique_identifier: _id
294
306
  // 传递给接口用于商品可用性检测的比对
295
307
  },
296
- _productDetail: eventDetail.productDetail
308
+ _productDetail: eventDetail.productDetail,
309
+ _productOrigin: transformProduct(
310
+ ((_p = eventDetail == null ? void 0 : eventDetail.productDetail) == null ? void 0 : _p.origin) || bookingOptionData
311
+ ),
312
+ _productInit: transformProduct(
313
+ ((_q = eventDetail == null ? void 0 : eventDetail.productDetail) == null ? void 0 : _q.origin) || bookingOptionData
314
+ )
297
315
  };
298
316
  newCartItem.deposit = (0, import_utils3.handleProductDeposit)(newCartItem, eventDetail, num);
299
317
  const originData = (0, import_utils3.handleCartItemOrigin)(newCartItem, eventDetail);
300
318
  newCartItem._originData = originData;
301
319
  if (holderItem == null ? void 0 : holderItem._originData) {
302
320
  newCartItem._originData.holder = {
303
- customer_id: (_n = getUserInfo()) == null ? void 0 : _n.id,
304
- form_id: (_o = holderItem == null ? void 0 : holderItem._originData) == null ? void 0 : _o.form_id,
305
- form_record: ((_p = holderItem == null ? void 0 : holderItem._originData) == null ? void 0 : _p.form_record_id) ? [(_q = holderItem == null ? void 0 : holderItem._originData) == null ? void 0 : _q.form_record_id] : null
321
+ customer_id: (_r = getUserInfo()) == null ? void 0 : _r.id,
322
+ form_id: (_s = holderItem == null ? void 0 : holderItem._originData) == null ? void 0 : _s.form_id,
323
+ form_record: ((_t = holderItem == null ? void 0 : holderItem._originData) == null ? void 0 : _t.form_record_id) ? [(_u = holderItem == null ? void 0 : holderItem._originData) == null ? void 0 : _u.form_record_id] : null
306
324
  };
307
325
  }
308
326
  return newCartItem;
@@ -1,10 +1,15 @@
1
1
  import Decimal from 'decimal.js';
2
2
  import { ICalculatePriceParams } from './types';
3
3
  export declare const handleProductInfo: (eventDetail: any, num: number) => {
4
+ price: number;
4
5
  totalPrice: number;
5
6
  originTotal: any;
6
7
  is_charge_tax: any;
7
8
  };
9
+ /**
10
+ * 获取商品价格
11
+ */
12
+ export declare const getPrice: (params: ICalculatePriceParams) => number;
8
13
  /**
9
14
  * 获取商品总价
10
15
  * @description 当前总价计算基于商品数量为1
@@ -33,6 +33,7 @@ __export(utils_exports, {
33
33
  formatBundleToOrigin: () => formatBundleToOrigin,
34
34
  formatOptionsToOrigin: () => formatOptionsToOrigin,
35
35
  getOriginTotalPrice: () => getOriginTotalPrice,
36
+ getPrice: () => getPrice,
36
37
  getProductDeposit: () => getProductDeposit,
37
38
  getTotalPrice: () => getTotalPrice,
38
39
  handleCartItemOrigin: () => handleCartItemOrigin,
@@ -45,6 +46,7 @@ var handleProductInfo = (eventDetail, num) => {
45
46
  var _a;
46
47
  const { productDetail, bookingOptionItem } = eventDetail;
47
48
  const normalProduct = bookingOptionItem == null ? void 0 : bookingOptionItem._originData;
49
+ let price = Number((normalProduct == null ? void 0 : normalProduct.price) || 0);
48
50
  let totalPrice = Number((normalProduct == null ? void 0 : normalProduct.price) || "");
49
51
  let originTotal = Number((normalProduct == null ? void 0 : normalProduct.original_price) || "");
50
52
  let is_charge_tax = normalProduct == null ? void 0 : normalProduct.is_charge_tax;
@@ -58,10 +60,19 @@ var handleProductInfo = (eventDetail, num) => {
58
60
  is_charge_tax = variant == null ? void 0 : variant.is_charge_tax;
59
61
  }
60
62
  const params = { product: origin, variant, bundle, options, num };
63
+ price = getPrice(params);
61
64
  totalPrice = getTotalPrice(params);
62
65
  originTotal = getOriginTotalPrice(params);
63
66
  }
64
- return { totalPrice, originTotal, is_charge_tax };
67
+ return { price, totalPrice, originTotal, is_charge_tax };
68
+ };
69
+ var getPrice = (params) => {
70
+ const { product, variant } = params;
71
+ let price = Number(product.price);
72
+ if (variant) {
73
+ price = Number(variant == null ? void 0 : variant.price);
74
+ }
75
+ return price;
65
76
  };
66
77
  var getTotalPrice = (params) => {
67
78
  const { product, bundle, options, variant } = params;
@@ -270,6 +281,7 @@ var calculateProductDeposit = (params) => {
270
281
  formatBundleToOrigin,
271
282
  formatOptionsToOrigin,
272
283
  getOriginTotalPrice,
284
+ getPrice,
273
285
  getProductDeposit,
274
286
  getTotalPrice,
275
287
  handleCartItemOrigin,
@@ -41,9 +41,7 @@ var calculateSubtotal = (items) => {
41
41
  return "0.00";
42
42
  }
43
43
  const subtotal = items.reduce((sum, item) => {
44
- const price = new import_decimal.default(item.price || 0);
45
- const quantity = new import_decimal.default(item.quantity || 1);
46
- return sum.plus(price.times(quantity));
44
+ return sum.plus(item.total || 0);
47
45
  }, new import_decimal.default(0));
48
46
  return subtotal.toFixed(2);
49
47
  };
@@ -54,7 +52,7 @@ var calculateTaxFee = (shopInfo, items) => {
54
52
  const { is_price_include_tax, tax_rate } = shopInfo || {};
55
53
  console.log("shopInfo>>>", is_price_include_tax, tax_rate);
56
54
  const totalTaxFee = items.reduce((sum, item) => {
57
- const price = new import_decimal.default(item.price || 0);
55
+ const price = new import_decimal.default(item.total || 0);
58
56
  const taxRate = new import_decimal.default(tax_rate || 0).div(100);
59
57
  const productTaxRate = price.times(taxRate).times((item == null ? void 0 : item.is_charge_tax) || 0).div(taxRate.times(is_price_include_tax || 0).plus(1));
60
58
  return sum.plus(productTaxRate);
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface TabProductProps {
4
3
  list: any[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
4
3
  export default SelectProductItem;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 空状态
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
4
3
  export default FooterMenus;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  modal: any;
@@ -100,7 +100,6 @@ var VoucherCard = (props) => {
100
100
  origin_total: (_b2 = value == null ? void 0 : value._extend) == null ? void 0 : _b2.origin_total,
101
101
  quantity: value._extend.quantity,
102
102
  startDate: value._extend.startDate,
103
- quantity: value._extend.quantity,
104
103
  holder_id: (_c2 = value == null ? void 0 : value._extend) == null ? void 0 : _c2.holder_id
105
104
  };
106
105
  });
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 表单选择器
@@ -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,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
7
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
- state: FormState;
9
- } & {
10
- dispatch: (params: {
11
- type: string;
12
- payload: any;
13
- }) => void;
14
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Notes: () => JSX.Element | null;
3
2
  export default Notes;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: string;
9
+ locale: any;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -1,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;
@@ -7,7 +7,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
7
7
  type: string;
8
8
  value: number;
9
9
  };
10
- locale: string;
10
+ locale: any;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const ContactInfoMode: () => JSX.Element;
3
2
  export default ContactInfoMode;
@@ -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
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -110,11 +109,4 @@ export declare const walkInData: {
110
109
  id: number;
111
110
  nickname: string;
112
111
  };
113
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
114
- state: FormState;
115
- } & {
116
- dispatch: (params: {
117
- type: string;
118
- payload: any;
119
- }) => void;
120
- }>;
112
+ export declare const Provider: any, Context: any;
@@ -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,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -166,10 +166,10 @@ export declare const getProductTotalPrice: (item: any) => number;
166
166
  export declare const getDuration: (duration: number | {
167
167
  type: string;
168
168
  value: number;
169
- }) => number | "flexible" | {
169
+ }) => number | {
170
170
  type: string;
171
171
  value: number;
172
- };
172
+ } | "flexible";
173
173
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
174
174
  export declare const getIsEdit: (state: any) => boolean;
175
175
  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" | "print" | "fail" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
12
  [keys: string]: unknown;
14
13
  } | undefined, other?: any) => void) | undefined;
15
14
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 断网(客户端)提示页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { 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: 取消签名确认页
@@ -10,7 +10,7 @@ import './device.less';
10
10
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
11
  api: PayProps['api'];
12
12
  className?: string | undefined;
13
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
14
14
  [keys: string]: unknown;
15
15
  } | undefined, other?: any) => void) | undefined;
16
16
  onClose: () => void;
@@ -15,11 +15,11 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"loading" | "warn" | "success" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps } from './const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusEnum } from '../const';
3
2
  export declare const POS: ({ api, onChange, }: {
4
3
  api: {
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "loading" | "success" | "warn" | "fail" | "question";
177
+ status: "loading" | "warn" | "success" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -297,8 +297,8 @@ export declare const backUpFree: (payload: Partial<State>) => {
297
297
  amount?: string | number | undefined;
298
298
  mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
301
- action?: "amount" | "pay" | "deviceList" | undefined;
300
+ eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
301
+ action?: "pay" | "amount" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
@@ -308,7 +308,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
310
310
  form?: string | undefined;
311
- status?: "loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "loading" | "warn" | "success" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './tip.less';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 按钮操作区
4
3
  * @description: 仅包含签名
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ api, onChange, formatAmount, }: {
3
2
  api: any;
4
3
  onChange: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Deposit: () => JSX.Element;
3
2
  export default Deposit;
@@ -40,6 +40,7 @@ var import_SelectHolderModal = __toESM(require("../../SelectHolderModal"));
40
40
  var import_ContinueButton = __toESM(require("../ContinueButton"));
41
41
  var import_Total = __toESM(require("./Total"));
42
42
  var import_Deposit = __toESM(require("../Deposit"));
43
+ var import_Voucher = __toESM(require("../../../Voucher"));
43
44
  var import_index = require("./index.less");
44
45
  var CartItem = () => {
45
46
  var _a;
@@ -88,7 +89,7 @@ var CartItem = () => {
88
89
  onChange: (e, type, key) => handleClickCard(e, type, key)
89
90
  }
90
91
  )),
91
- /* @__PURE__ */ import_react.default.createElement("div", { className: "event-footer" }, /* @__PURE__ */ import_react.default.createElement(import_Total.default, null), ((_a = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _a.length) > 0 && (deposit == null ? void 0 : deposit.hasDeposit) ? /* @__PURE__ */ import_react.default.createElement(import_Deposit.default, null) : null, /* @__PURE__ */ import_react.default.createElement(import_ContinueButton.default, null))
92
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "event-footer" }, /* @__PURE__ */ import_react.default.createElement(import_Voucher.default, null), /* @__PURE__ */ import_react.default.createElement(import_Total.default, null), ((_a = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _a.length) > 0 && (deposit == null ? void 0 : deposit.hasDeposit) ? /* @__PURE__ */ import_react.default.createElement(import_Deposit.default, null) : null, /* @__PURE__ */ import_react.default.createElement(import_ContinueButton.default, null))
92
93
  ), /* @__PURE__ */ import_react.default.createElement(import_SelectHolderModal.default, { open }));
93
94
  };
94
95
  var Item_default = CartItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderModal: (props: any) => JSX.Element;
3
2
  export default SelectHolderModal;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface VoucherUIProps {
4
+ showDetail: boolean;
5
+ onToggleDetail: () => void;
6
+ isLogin: boolean;
7
+ onLoginClick: () => void;
8
+ availableData: any[];
9
+ onDiscountChange: (val: {
10
+ id: any;
11
+ isSelected: boolean;
12
+ }) => void;
13
+ mixedSort: (val: any[]) => any[];
14
+ code: string;
15
+ onCodeChange: (value: string) => void;
16
+ onApplyCode: () => void;
17
+ codeDisabled?: boolean;
18
+ }
19
+ declare const VoucherUI: React.FC<VoucherUIProps>;
20
+ export default VoucherUI;