@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
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VerifyingEmailLink: (props: {
4
3
  onVerifyLink: () => Promise<void>;
@@ -35,10 +35,19 @@ module.exports = __toCommonJS(VariantCard_exports);
35
35
  var import_react = __toESM(require("react"));
36
36
  var import_utils = require("@pisell/utils");
37
37
  var import_Selector = __toESM(require("../../../../pro/Selector"));
38
+ var import_useStore = __toESM(require("../../hooks/useStore"));
38
39
  var import_index = require("./index.less");
39
40
  var VariantCard = (props) => {
40
41
  var _a, _b, _c;
41
42
  const { dataSource, actions } = props || {};
43
+ const symbol = (0, import_useStore.default)((s) => s.symbol);
44
+ const skuCardConfig = (0, import_useStore.default)((s) => s.skuCardConfig);
45
+ const isVariantPriceVisible = (skuCardConfig == null ? void 0 : skuCardConfig.variantPriceVisible) === true;
46
+ const priceConfig = skuCardConfig == null ? void 0 : skuCardConfig.price;
47
+ const priceText = formatPriceText({
48
+ symbol,
49
+ price: dataSource == null ? void 0 : dataSource.price
50
+ });
42
51
  const handleClick = (e) => {
43
52
  e.stopPropagation();
44
53
  if (dataSource == null ? void 0 : dataSource.disabled) return;
@@ -57,10 +66,30 @@ var VariantCard = (props) => {
57
66
  className: "pisell-sku-options-selection-variant-card",
58
67
  onClick: handleClick
59
68
  },
60
- ((_a = props.dataSource) == null ? void 0 : _a.title) || "",
61
- ((_c = (_b = props.dataSource) == null ? void 0 : _b._extra) == null ? void 0 : _c.hasStock) === false ? ` (${import_utils.locales.getText(
69
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-sku-options-selection-variant-card__title" }, ((_a = props.dataSource) == null ? void 0 : _a.title) || "", ((_c = (_b = props.dataSource) == null ? void 0 : _b._extra) == null ? void 0 : _c.hasStock) === false ? ` (${import_utils.locales.getText(
62
70
  "pisell2.skuOptionsSelection.variantItemCard.soldOut"
63
- )})` : null
71
+ )})` : null),
72
+ isVariantPriceVisible && (priceConfig == null ? void 0 : priceConfig.visible) !== false && !!priceText ? /* @__PURE__ */ import_react.default.createElement(
73
+ "div",
74
+ {
75
+ className: "pisell-sku-options-selection-variant-card__price",
76
+ style: {
77
+ fontSize: priceConfig == null ? void 0 : priceConfig.fontSize,
78
+ fontWeight: priceConfig == null ? void 0 : priceConfig.fontWeight,
79
+ color: priceConfig == null ? void 0 : priceConfig.color
80
+ }
81
+ },
82
+ import_utils.locales.getText("pisell2.skuOptionsSelection.variantItemCard.price"),
83
+ ":",
84
+ priceText
85
+ ) : null
64
86
  ));
65
87
  };
88
+ function formatPriceText(params) {
89
+ const symbol = params.symbol || "$";
90
+ const price = Number(params.price);
91
+ if (!params.price && params.price !== 0) return "";
92
+ if (Number.isNaN(price)) return "";
93
+ return `${symbol}${price.toFixed(2)}`;
94
+ }
66
95
  var VariantCard_default = VariantCard;
@@ -3,7 +3,17 @@
3
3
  height: 100%;
4
4
  padding: 12px 16px;
5
5
  display: flex;
6
+ flex-direction: column;
7
+ gap: 4px;
6
8
  align-items: center;
7
9
  justify-content: center;
8
10
  text-align: center;
11
+ }
12
+
13
+ .pisell-sku-options-selection-variant-card__title {
14
+ line-height: 1.2;
15
+ }
16
+
17
+ .pisell-sku-options-selection-variant-card__price {
18
+ line-height: 1.2;
9
19
  }
@@ -5,6 +5,7 @@ declare const _default: {
5
5
  'pisell2.skuOptionsSelection.titleExtra.totalPrice': string;
6
6
  'pisell2.skuOptionsSelection.optionItemCard.editSelections': string;
7
7
  'pisell2.skuOptionsSelection.variantItemCard.soldOut': string;
8
+ 'pisell2.skuOptionsSelection.variantItemCard.price': string;
8
9
  'pisell2.skuOptionsSelection.optionItemCard.typeText': string;
9
10
  'pisell2.skuOptionsSelection.optionItemCard.overSelected': string;
10
11
  };
@@ -14,6 +15,7 @@ declare const _default: {
14
15
  'pisell2.skuOptionsSelection.titleExtra.totalPrice': string;
15
16
  'pisell2.skuOptionsSelection.optionItemCard.editSelections': string;
16
17
  'pisell2.skuOptionsSelection.variantItemCard.soldOut': string;
18
+ 'pisell2.skuOptionsSelection.variantItemCard.price': string;
17
19
  'pisell2.skuOptionsSelection.optionItemCard.typeText': string;
18
20
  'pisell2.skuOptionsSelection.optionItemCard.overSelected': string;
19
21
  };
@@ -23,6 +25,7 @@ declare const _default: {
23
25
  'pisell2.skuOptionsSelection.titleExtra.totalPrice': string;
24
26
  'pisell2.skuOptionsSelection.optionItemCard.editSelections': string;
25
27
  'pisell2.skuOptionsSelection.variantItemCard.soldOut': string;
28
+ 'pisell2.skuOptionsSelection.variantItemCard.price': string;
26
29
  'pisell2.skuOptionsSelection.optionItemCard.typeText': string;
27
30
  'pisell2.skuOptionsSelection.optionItemCard.overSelected': string;
28
31
  };
@@ -29,6 +29,7 @@ var locales_default = {
29
29
  "pisell2.skuOptionsSelection.titleExtra.totalPrice": "Subtotal: {{price}}",
30
30
  "pisell2.skuOptionsSelection.optionItemCard.editSelections": "Edit selections",
31
31
  "pisell2.skuOptionsSelection.variantItemCard.soldOut": "Out of stock",
32
+ "pisell2.skuOptionsSelection.variantItemCard.price": "Price",
32
33
  "pisell2.skuOptionsSelection.optionItemCard.typeText": "Type",
33
34
  "pisell2.skuOptionsSelection.optionItemCard.overSelected": "Over selected"
34
35
  },
@@ -38,6 +39,7 @@ var locales_default = {
38
39
  "pisell2.skuOptionsSelection.titleExtra.totalPrice": "小计:{{price}}",
39
40
  "pisell2.skuOptionsSelection.optionItemCard.editSelections": "编辑选择",
40
41
  "pisell2.skuOptionsSelection.variantItemCard.soldOut": "库存不足",
42
+ "pisell2.skuOptionsSelection.variantItemCard.price": "价格",
41
43
  "pisell2.skuOptionsSelection.optionItemCard.typeText": "类型",
42
44
  "pisell2.skuOptionsSelection.optionItemCard.overSelected": "已达上限"
43
45
  },
@@ -47,6 +49,7 @@ var locales_default = {
47
49
  "pisell2.skuOptionsSelection.titleExtra.totalPrice": "小計:{{price}}",
48
50
  "pisell2.skuOptionsSelection.optionItemCard.editSelections": "編輯選擇",
49
51
  "pisell2.skuOptionsSelection.variantItemCard.soldOut": "庫存不足",
52
+ "pisell2.skuOptionsSelection.variantItemCard.price": "價格",
50
53
  "pisell2.skuOptionsSelection.optionItemCard.typeText": "類型",
51
54
  "pisell2.skuOptionsSelection.optionItemCard.overSelected": "已達上限"
52
55
  }
@@ -60,7 +60,31 @@ var actions = {
60
60
  },
61
61
  /** 更新 SKU Card 配置 */
62
62
  updateSkuCardConfig: (skuCardConfig) => {
63
- import_store.default.setState({ skuCardConfig });
63
+ import_store.default.setState((prev) => {
64
+ var _a, _b, _c, _d;
65
+ return {
66
+ skuCardConfig: {
67
+ ...prev.skuCardConfig || {},
68
+ ...skuCardConfig || {},
69
+ title: {
70
+ ...((_a = prev.skuCardConfig) == null ? void 0 : _a.title) || {},
71
+ ...(skuCardConfig == null ? void 0 : skuCardConfig.title) || {}
72
+ },
73
+ subTitle: {
74
+ ...((_b = prev.skuCardConfig) == null ? void 0 : _b.subTitle) || {},
75
+ ...(skuCardConfig == null ? void 0 : skuCardConfig.subTitle) || {}
76
+ },
77
+ price: {
78
+ ...((_c = prev.skuCardConfig) == null ? void 0 : _c.price) || {},
79
+ ...(skuCardConfig == null ? void 0 : skuCardConfig.price) || {}
80
+ },
81
+ image: {
82
+ ...((_d = prev.skuCardConfig) == null ? void 0 : _d.image) || {},
83
+ ...(skuCardConfig == null ? void 0 : skuCardConfig.image) || {}
84
+ }
85
+ }
86
+ };
87
+ });
64
88
  },
65
89
  /** 更新自定义配置 */
66
90
  updateCustomConfig: (customConfig) => {
@@ -41,6 +41,11 @@ export interface SkuCardConfig {
41
41
  price?: Omit<SkuCardTextConfig, 'lineClamp'>;
42
42
  /** 图片配置 */
43
43
  image?: SkuCardImageConfig;
44
+ /**
45
+ * @description 是否在「组合规格选项卡片(VariantCard)」展示价格
46
+ * - 默认不展示,避免影响现有业务 UI
47
+ */
48
+ variantPriceVisible?: boolean;
44
49
  }
45
50
  /**
46
51
  * SKU store状态类型
@@ -36,7 +36,8 @@ var defaultSkuCardConfig = {
36
36
  },
37
37
  image: {
38
38
  visible: true
39
- }
39
+ },
40
+ variantPriceVisible: false
40
41
  };
41
42
  // Annotate the CommonJS export names for ESM import in node:
42
43
  0 && (module.exports = {
@@ -33,22 +33,31 @@ __export(transformVariantGroup_exports, {
33
33
  });
34
34
  module.exports = __toCommonJS(transformVariantGroup_exports);
35
35
  var import_react = __toESM(require("react"));
36
+ var import_store = __toESM(require("../store/store"));
36
37
  var import_VariantCard = __toESM(require("../components/VariantCard"));
37
38
  var import_checkSkuStatus = require("./checkSkuStatus");
38
39
  var transformVariantGroup = (variantGroup) => {
40
+ var _a;
39
41
  if (!Array.isArray(variantGroup)) return [];
42
+ const variantProducts = ((_a = import_store.default.getState().dataSource) == null ? void 0 : _a.variant) || [];
40
43
  const formattedGroup = variantGroup.map((item) => {
41
- var _a;
42
- const selectorOptionsDataSource = (_a = item == null ? void 0 : item.variant_item) == null ? void 0 : _a.map(
44
+ var _a2;
45
+ const selectorOptionsDataSource = (_a2 = item == null ? void 0 : item.variant_item) == null ? void 0 : _a2.map(
43
46
  (variantItem) => {
44
47
  const { canSell, hasStock } = (0, import_checkSkuStatus.checkVariantStockCanSell)(variantItem);
45
48
  const disabled = (0, import_checkSkuStatus.checkSkuDisabled)(variantItem, canSell);
49
+ const price = getVariantItemFixedPrice({
50
+ selectedVariantIds: [`${variantItem == null ? void 0 : variantItem.variant_group_id}:${variantItem == null ? void 0 : variantItem.id}`],
51
+ variantProducts
52
+ });
46
53
  return {
47
54
  _original: { ...variantItem || {} },
48
55
  id: variantItem == null ? void 0 : variantItem.id,
49
56
  title: variantItem == null ? void 0 : variantItem.name,
50
57
  value: variantItem == null ? void 0 : variantItem.id,
51
58
  disabled,
59
+ // 组合规格选项对应的固定价格(若存在多价则返回 null,不展示)
60
+ price,
52
61
  ruleConfig: {
53
62
  autoValidate: true
54
63
  },
@@ -87,13 +96,19 @@ var transformVariantGroup = (variantGroup) => {
87
96
  }
88
97
  };
89
98
  selectorDataSource.renderItem = (itemProps) => {
90
- var _a2, _b;
99
+ var _a3, _b, _c;
91
100
  const { canSell, hasStock } = (0, import_checkSkuStatus.checkVariantStockByValue)(
92
- (_a2 = itemProps == null ? void 0 : itemProps.dataSource) == null ? void 0 : _a2._original
101
+ (_a3 = itemProps == null ? void 0 : itemProps.dataSource) == null ? void 0 : _a3._original
93
102
  );
103
+ const price = getVariantItemFixedPriceByValue({
104
+ variantItem: (_b = itemProps == null ? void 0 : itemProps.dataSource) == null ? void 0 : _b._original,
105
+ variantProducts
106
+ });
94
107
  const _dataSource = {
95
108
  ...(itemProps == null ? void 0 : itemProps.dataSource) || {},
96
- disabled: (0, import_checkSkuStatus.checkSkuDisabled)((_b = itemProps == null ? void 0 : itemProps.dataSource) == null ? void 0 : _b._original, canSell),
109
+ disabled: (0, import_checkSkuStatus.checkSkuDisabled)((_c = itemProps == null ? void 0 : itemProps.dataSource) == null ? void 0 : _c._original, canSell),
110
+ // 组合规格选项对应的固定价格(若存在多价则返回 null,不展示)
111
+ price,
97
112
  _extra: {
98
113
  canSell,
99
114
  hasStock
@@ -112,6 +127,37 @@ var transformVariantGroup = (variantGroup) => {
112
127
  });
113
128
  return formattedGroup;
114
129
  };
130
+ function getVariantItemFixedPrice(params) {
131
+ const selectedVariantIds = params.selectedVariantIds;
132
+ const variantProducts = params.variantProducts;
133
+ const matchedVariants = Array.isArray(variantProducts) ? variantProducts.filter((item) => {
134
+ var _a;
135
+ const ids = ((_a = item == null ? void 0 : item.sku_ids) == null ? void 0 : _a.split("_")) || [];
136
+ return selectedVariantIds.every((selectedId) => ids.includes(selectedId));
137
+ }) : [];
138
+ const prices = matchedVariants.map((item) => Number((item == null ? void 0 : item.price) ?? (item == null ? void 0 : item.base_price) ?? 0)).filter((n) => !Number.isNaN(n));
139
+ if (prices.length === 0) return null;
140
+ const uniquePrices = Array.from(new Set(prices));
141
+ if (uniquePrices.length !== 1) return null;
142
+ return uniquePrices[0];
143
+ }
144
+ function getVariantItemFixedPriceByValue(params) {
145
+ var _a;
146
+ const variantItem = params.variantItem;
147
+ const variantProducts = params.variantProducts;
148
+ const dataSource = import_store.default.getState().dataSource;
149
+ const selectorValue = import_store.default.getState().selectorValue;
150
+ const currentSkuId = `${variantItem == null ? void 0 : variantItem.variant_group_id}:${variantItem == null ? void 0 : variantItem.id}`;
151
+ const selectedVariantIds = [currentSkuId];
152
+ (_a = dataSource == null ? void 0 : dataSource.variant_group) == null ? void 0 : _a.forEach((group) => {
153
+ var _a2;
154
+ const selectedData = (_a2 = selectorValue == null ? void 0 : selectorValue[group.id]) == null ? void 0 : _a2.data;
155
+ if (selectedData && group.id !== (variantItem == null ? void 0 : variantItem.variant_group_id)) {
156
+ selectedVariantIds.push(`${selectedData == null ? void 0 : selectedData.variant_group_id}:${selectedData == null ? void 0 : selectedData.id}`);
157
+ }
158
+ });
159
+ return getVariantItemFixedPrice({ selectedVariantIds, variantProducts });
160
+ }
115
161
  // Annotate the CommonJS export names for ESM import in node:
116
162
  0 && (module.exports = {
117
163
  transformVariantGroup
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: string[] | undefined;
@@ -85,10 +85,17 @@ var PassDetail = (props) => {
85
85
  extension_data = [],
86
86
  customer_order_behavior_count = 0
87
87
  } = product || {};
88
- const _getDetail = (0, import_ahooks.useRequest)(() => (0, import_serve.getDetailApi)({ id, apiPrefix, order_behavior_count_customer_id: customer_id }), {
89
- ready: !!id,
90
- refreshDeps: [id, customer_id]
91
- });
88
+ const _getDetail = (0, import_ahooks.useRequest)(
89
+ () => (0, import_serve.getDetailApi)({
90
+ id,
91
+ apiPrefix,
92
+ order_behavior_count_customer_id: customer_id
93
+ }),
94
+ {
95
+ ready: !!id,
96
+ refreshDeps: [id, customer_id]
97
+ }
98
+ );
92
99
  const scheduleList = (0, import_react.useMemo)(() => {
93
100
  return (custom_schedule_snapshot == null ? void 0 : custom_schedule_snapshot.data) || [];
94
101
  }, [custom_schedule_snapshot]);
@@ -124,7 +131,10 @@ var PassDetail = (props) => {
124
131
  }, []);
125
132
  const descs = (0, import_react.useMemo)(() => {
126
133
  var _a2, _b2, _c2;
127
- const detail = (0, import_utils3.formatScheduleText)(scheduleList, (_b2 = (_a2 = context == null ? void 0 : context.engine) == null ? void 0 : _a2.props) == null ? void 0 : _b2.locale);
134
+ const detail = (0, import_utils3.formatScheduleText)(
135
+ scheduleList,
136
+ (_b2 = (_a2 = context == null ? void 0 : context.engine) == null ? void 0 : _a2.props) == null ? void 0 : _b2.locale
137
+ );
128
138
  let expireText = expire_date ? expire_date : import_utils.locales.getText("wallet-pass-gallery.expireDate");
129
139
  if (scheduleList.length > 0) {
130
140
  let validityTexts = "";
@@ -230,7 +240,15 @@ var PassDetail = (props) => {
230
240
  const renderTimeLine = () => {
231
241
  if (tag === "product_discount_card") return null;
232
242
  if (!showTimeLine) return null;
233
- return /* @__PURE__ */ import_react.default.createElement(import_timelineSection.default, { code, tag, timezone });
243
+ return /* @__PURE__ */ import_react.default.createElement(
244
+ import_timelineSection.default,
245
+ {
246
+ code,
247
+ tag,
248
+ timezone,
249
+ apiPrefix
250
+ }
251
+ );
234
252
  };
235
253
  if (!props.dataSource) return null;
236
254
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
@@ -3,6 +3,7 @@ interface TimelineSectionProps {
3
3
  code: string;
4
4
  tag: string;
5
5
  timezone: string;
6
+ apiPrefix?: '/shop' | '/h5';
6
7
  }
7
8
  declare const TimelineSection: (props: TimelineSectionProps) => JSX.Element;
8
9
  export default TimelineSection;
@@ -45,7 +45,7 @@ import_dayjs.default.extend(import_timezone.default);
45
45
  import_dayjs.default.extend(import_utc.default);
46
46
  var stateTimeUnix = 1723255863;
47
47
  var TimelineSection = (props) => {
48
- const { code, tag, timezone } = props;
48
+ const { code, tag, timezone, apiPrefix } = props;
49
49
  const { symbol = "$" } = (0, import_materials.usePisellConfig)();
50
50
  const [isShowtimeLineDetail, setIsShowtimeLineDetail] = import_react.default.useState(false);
51
51
  const [isSpending, setIsSpending] = import_react.default.useState(true);
@@ -109,14 +109,21 @@ var TimelineSection = (props) => {
109
109
  [assetActionEnum, formatCurrencyAmount]
110
110
  );
111
111
  const assetListReq = (0, import_ahooks.useRequest)(
112
- () => (0, import_serve.getAssetList)({
113
- num: "99",
114
- skip: "1",
115
- card_id: code,
116
- sourceType: tag,
117
- tag,
118
- business_object: "customer"
119
- }),
112
+ () => {
113
+ if (apiPrefix === "/shop") {
114
+ return (0, import_serve.getActiveLogs)({
115
+ filter_card_id: code
116
+ });
117
+ }
118
+ return (0, import_serve.getAssetList)({
119
+ num: "99",
120
+ skip: "1",
121
+ card_id: code,
122
+ sourceType: tag,
123
+ tag,
124
+ business_object: "customer"
125
+ });
126
+ },
120
127
  {
121
128
  ready: !!code,
122
129
  refreshDeps: [code, tag]
@@ -198,7 +205,7 @@ var TimelineSection = (props) => {
198
205
  label: import_utils.locales.getText("wallet-pass-gallery.viewOrder"),
199
206
  value: timeLineDetail && (timeLineDetail == null ? void 0 : timeLineDetail.resource_code) ? `#${timeLineDetail == null ? void 0 : timeLineDetail.resource_code}` : (timeLineDetail == null ? void 0 : timeLineDetail.transaction_id) ? `#${timeLineDetail == null ? void 0 : timeLineDetail.transaction_id}` : "",
200
207
  isLink: !!(timeLineDetail && (timeLineDetail == null ? void 0 : timeLineDetail.resource_id)),
201
- link: timeLineDetail && (timeLineDetail == null ? void 0 : timeLineDetail.resource_id) ? `/order/details?id=${timeLineDetail == null ? void 0 : timeLineDetail.resource_id}` : void 0
208
+ link: timeLineDetail && (timeLineDetail == null ? void 0 : timeLineDetail.resource_id) ? apiPrefix === "/shop" ? `/admin/order/orders/detail?id=${timeLineDetail == null ? void 0 : timeLineDetail.resource_id}` : `/order/details?id=${timeLineDetail == null ? void 0 : timeLineDetail.resource_id}` : void 0
202
209
  }
203
210
  ],
204
211
  labelColor: "#101828",
@@ -96,7 +96,7 @@ var WalletPassGallery = (props) => {
96
96
  tags: TAGS,
97
97
  filter_wallet_id: walletId || void 0,
98
98
  filter_holder_id: holderId || void 0,
99
- with: ["holder.detail"]
99
+ with: ["customScheduleSnapshot", "holder.detail"]
100
100
  });
101
101
  return {
102
102
  list: (res == null ? void 0 : res.list) || [],
@@ -126,7 +126,7 @@ var WalletPassGallery = (props) => {
126
126
  tags: TAGS,
127
127
  filter_wallet_id: walletId || void 0,
128
128
  filter_holder_id: holderId || void 0,
129
- with: ["holder.detail"]
129
+ with: ["customScheduleSnapshot", "holder.detail"]
130
130
  });
131
131
  return {
132
132
  list: (res == null ? void 0 : res.list) || [],
@@ -166,6 +166,14 @@ export interface IAssetItem {
166
166
  export declare const getAssetList: (params: IAssetListProps) => Promise<{
167
167
  list: IAssetItem[];
168
168
  }>;
169
+ /**
170
+ * 资产明细(admin)
171
+ */
172
+ export declare const getActiveLogs: (params: {
173
+ filter_card_id: string;
174
+ }) => Promise<{
175
+ list: IAssetItem[];
176
+ }>;
169
177
  /**
170
178
  * 获取资产详情
171
179
  * @param params 接口请求参数
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  var serve_exports = {};
21
21
  __export(serve_exports, {
22
22
  bindCodeToCustomer: () => bindCodeToCustomer,
23
+ getActiveLogs: () => getActiveLogs,
23
24
  getAssetList: () => getAssetList,
24
25
  getDetailApi: () => getDetailApi,
25
26
  getUnbindList: () => getUnbindList,
@@ -59,7 +60,10 @@ var goOrder = async (params) => {
59
60
  const { data } = await import_utils.request.getRequest().post(`/h5/store/order/add`, params);
60
61
  return data;
61
62
  } catch (error) {
62
- console.error(import_utils2.locales.getText("wallet-pass-gallery.log.orderFailed"), error);
63
+ console.error(
64
+ import_utils2.locales.getText("wallet-pass-gallery.log.orderFailed"),
65
+ error
66
+ );
63
67
  throw error;
64
68
  }
65
69
  };
@@ -70,16 +74,24 @@ var getAssetList = async (params) => {
70
74
  const { data } = await import_utils.request.getRequest().get(`/h5/pay/asset/lowcode/list`, params);
71
75
  return data;
72
76
  };
77
+ var getActiveLogs = async (params) => {
78
+ const { data } = await import_utils.request.getRequest().get(`/shop/asset`, params);
79
+ return data;
80
+ };
73
81
  var getDetailApi = async (params) => {
74
- const { data } = await import_utils.request.getRequest().get(`${params.apiPrefix || "/h5"}/machinecode/lowcode/detail/${params.id}`, {
75
- order_behavior_count: 1,
76
- // 订单行为次数
77
- order_behavior_count_customer: 1,
78
- // 客户订单行为次数
79
- order_behavior_count_customer_id: params.apiPrefix === "/shop" ? params.order_behavior_count_customer_id : void 0
80
- }, {
81
- isOriginHost: true
82
- });
82
+ const { data } = await import_utils.request.getRequest().get(
83
+ `${params.apiPrefix || "/h5"}/machinecode/lowcode/detail/${params.id}`,
84
+ {
85
+ order_behavior_count: 1,
86
+ // 订单行为次数
87
+ order_behavior_count_customer: 1,
88
+ // 客户订单行为次数
89
+ order_behavior_count_customer_id: params.apiPrefix === "/shop" ? params.order_behavior_count_customer_id : void 0
90
+ },
91
+ {
92
+ isOriginHost: true
93
+ }
94
+ );
83
95
  return data;
84
96
  };
85
97
  var orderRechargeProduct = async (params) => {
@@ -100,6 +112,7 @@ var getWalletPassDetail = async (id, params) => {
100
112
  // Annotate the CommonJS export names for ESM import in node:
101
113
  0 && (module.exports = {
102
114
  bindCodeToCustomer,
115
+ getActiveLogs,
103
116
  getAssetList,
104
117
  getDetailApi,
105
118
  getUnbindList,
@@ -3,7 +3,7 @@ import { ItemLayout, ItemProps, PresetConfig, SelectorProps, SelectorVariant } f
3
3
  import './selector.less';
4
4
  export declare const SelectorContext: React.Context<{
5
5
  disabled?: boolean | undefined;
6
- mode?: "multiple" | "single" | undefined;
6
+ mode?: "single" | "multiple" | undefined;
7
7
  itemLayout?: ItemLayout | undefined;
8
8
  valueType?: "object" | "primitive" | undefined;
9
9
  variant?: SelectorVariant | undefined;
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface NumberKeyboardProps {
4
+ /** 输入框的值 */
5
+ value?: string;
6
+ /** 输入框的placeholder */
7
+ placeholder?: string;
8
+ /** 输入框的最大长度 */
9
+ maxLength?: number;
10
+ /** 最大值 */
11
+ max?: number;
12
+ /** 确认按钮的文本 */
13
+ okText?: string;
14
+ /** 删除按钮的文本 */
15
+ deleteText?: string | React.ReactNode;
16
+ /** 输入框的值发生变化时回调 */
17
+ onChange?: (num: string) => void;
18
+ /** 确认按钮点击时回调 */
19
+ onOk?: () => void;
20
+ /** 删除按钮点击时回调 */
21
+ onDelete?: (num: string) => void;
22
+ /** 键盘整体样式 */
23
+ style?: React.CSSProperties;
24
+ /** 输入框的样式 */
25
+ inputStyle?: React.CSSProperties;
26
+ }
27
+ declare const NumberKeyboard: (props: NumberKeyboardProps) => JSX.Element;
28
+ export default NumberKeyboard;