@pisell/private-materials 6.3.115 → 6.3.116

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 (305) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/Sales/Cart/index.d.ts +53 -0
  8. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
  9. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  10. package/es/components/appointmentBooking/components/Voucher/index.d.ts +5 -0
  11. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  12. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  13. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  14. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  15. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  16. package/es/components/booking/addons/index.d.ts +17 -0
  17. package/es/components/booking/addons/model.d.ts +1 -10
  18. package/es/components/booking/components/footer/amount.d.ts +25 -0
  19. package/es/components/booking/components/footer/index.d.ts +12 -0
  20. package/es/components/booking/components/footer/utils.d.ts +47 -0
  21. package/es/components/booking/components/voucher/index.d.ts +4 -0
  22. package/es/components/booking/dashboard/index.d.ts +20 -0
  23. package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
  24. package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
  25. package/es/components/booking/deposit/index.d.ts +3 -0
  26. package/es/components/booking/forms/forms.d.ts +30 -0
  27. package/es/components/booking/forms/model.d.ts +1 -10
  28. package/es/components/booking/hooks/useQuotation.d.ts +6 -0
  29. package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
  30. package/es/components/booking/info/client/index.d.ts +4 -0
  31. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  32. package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  33. package/es/components/booking/info/date/index.d.ts +5 -0
  34. package/es/components/booking/info/header/index.d.ts +4 -0
  35. package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  36. package/es/components/booking/info/index.d.ts +4 -0
  37. package/es/components/booking/info/main.d.ts +12 -0
  38. package/es/components/booking/info/model.d.ts +5 -0
  39. package/es/components/booking/info/pet/index.d.ts +14 -0
  40. package/es/components/booking/info/service/Lists.d.ts +3 -0
  41. package/es/components/booking/info/service/addService/index.d.ts +12 -0
  42. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  43. package/es/components/booking/info/service/editService/BookingList/index.d.ts +5 -0
  44. package/es/components/booking/info/service/editService/index.d.ts +7 -0
  45. package/es/components/booking/info/service/serviceItem/index.d.ts +4 -0
  46. package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
  47. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  48. package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
  49. package/es/components/booking/info/service2/Lists.d.ts +3 -0
  50. package/es/components/booking/info/service2/utils.d.ts +248 -0
  51. package/es/components/booking/info/utils.d.ts +50 -0
  52. package/es/components/booking/info2/index.d.ts +12 -0
  53. package/es/components/booking/info2/service/addService/index.d.ts +12 -0
  54. package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
  55. package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  56. package/es/components/booking/info2/service/editService/index.d.ts +7 -0
  57. package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
  58. package/es/components/booking/info2/service/index.d.ts +4 -0
  59. package/es/components/booking/info2/service/serviceItem/index.d.ts +4 -0
  60. package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
  61. package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
  62. package/es/components/booking/model.d.ts +112 -0
  63. package/es/components/booking/notes/NoteBlock/index.d.ts +17 -0
  64. package/es/components/booking/notes/addNote/index.d.ts +4 -0
  65. package/es/components/booking/notes/model.d.ts +1 -10
  66. package/es/components/booking/payments/model.d.ts +1 -10
  67. package/es/components/booking/utils.d.ts +175 -0
  68. package/es/components/eftpos/PairModal/index.d.ts +11 -0
  69. package/es/components/eftpos/SettlementModal/index.d.ts +8 -0
  70. package/es/components/eftpos/SettlementModal/serve.d.ts +8 -0
  71. package/es/components/eftpos/SettlementModal/utils.d.ts +18 -0
  72. package/es/components/eftpos/device.d.ts +11 -0
  73. package/es/components/eftpos/index.d.ts +47 -0
  74. package/es/components/eftpos/index.js +3 -3
  75. package/es/components/eftpos/table.d.ts +21 -0
  76. package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +6 -0
  77. package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  78. package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  79. package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +132 -0
  80. package/es/components/eftposPay/aggregatePayment/utils/payment.js +7 -1
  81. package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  82. package/es/components/eftposPay/component/fail/index.d.ts +4 -0
  83. package/es/components/eftposPay/device.d.ts +24 -0
  84. package/es/components/eftposPay/device.js +7 -3
  85. package/es/components/eftposPay/hooks.d.ts +2 -2
  86. package/es/components/eftposPay/index.d.ts +5 -0
  87. package/es/components/eftposPay/linkly/const.d.ts +23 -0
  88. package/es/components/eftposPay/linkly/index.d.ts +3 -0
  89. package/es/components/eftposPay/manufacturer.d.ts +8 -0
  90. package/es/components/eftposPay/mx51/Result.d.ts +5 -0
  91. package/es/components/eftposPay/mx51/const.d.ts +5 -0
  92. package/es/components/eftposPay/mx51/index.d.ts +6 -0
  93. package/es/components/eftposPay/pay.d.ts +21 -0
  94. package/es/components/eftposPay/payo/config.d.ts +13 -0
  95. package/es/components/eftposPay/payo/const.d.ts +26 -0
  96. package/es/components/eftposPay/tyro/const.d.ts +17 -0
  97. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  98. package/es/components/eftposPay/windcave/const.d.ts +119 -0
  99. package/es/components/eftposPay/windcave/windcave.d.ts +7 -0
  100. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
  101. package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +11 -0
  102. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
  103. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  104. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  105. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +9 -0
  106. package/es/components/pay/toC/WalletPassBlock/index.d.ts +21 -0
  107. package/es/components/pay/toC/index.d.ts +3 -0
  108. package/es/components/pay/toC/model.d.ts +32 -0
  109. package/es/components/pay/toC/serve.d.ts +62 -0
  110. package/es/components/pay/toC/utils.d.ts +57 -0
  111. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  112. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  113. package/es/components/productSelect/components/TabProduct/index.d.ts +3 -0
  114. package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  115. package/es/components/productSelect/components/productGroup/index.d.ts +39 -0
  116. package/es/components/schedules/model.d.ts +1 -9
  117. package/es/components/shoppingCart/components/Cart/Product.d.ts +4 -0
  118. package/es/components/shoppingCart/components/Cart/index.d.ts +4 -0
  119. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  120. package/es/components/subTotal/index.d.ts +24 -0
  121. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  122. package/es/components/systemSettings/registry/index.d.ts +5 -0
  123. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +10 -0
  124. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  125. package/es/components/ticketBooking/components/menuBar/index.d.ts +4 -0
  126. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
  127. package/es/components/ticketBooking/components/timeBar/index.d.ts +13 -0
  128. package/es/components/ticketBooking/index.d.ts +8 -0
  129. package/es/components/ticketBooking/serve.d.ts +287 -0
  130. package/es/components/ticketBooking/utils/formatTime.d.ts +31 -0
  131. package/es/components/ticketBooking/utils/index.d.ts +25 -0
  132. package/es/components/walletList/index.d.ts +4 -0
  133. package/es/index.d.ts +66 -0
  134. package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  135. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  136. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +12 -0
  137. package/es/plus/productSelect/index.d.ts +32 -0
  138. package/es/plus/selectHolder/index.d.ts +7 -0
  139. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
  140. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +4 -0
  141. package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +11 -0
  142. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +16 -0
  143. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  144. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  145. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  146. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +10 -0
  147. package/es/plus/walletPassGallery/components/passList/index.d.ts +13 -0
  148. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +10 -0
  149. package/es/plus/walletPassGallery/index.d.ts +7 -0
  150. package/es/plus/walletPassGallery/serve.d.ts +243 -0
  151. package/es/pro/Cards/components/SKUCard/index.d.ts +60 -0
  152. package/es/pro/Login2.0/Login2.d.ts +61 -0
  153. package/es/pro/Selector/Selector.d.ts +14 -0
  154. package/es/pro/Selector/SelectorGroup.d.ts +11 -0
  155. package/es/pro/skuDetailModal/index.d.ts +4 -0
  156. package/lib/components/Sales/Cart/index.d.ts +53 -0
  157. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
  158. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  159. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +5 -0
  160. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  161. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  162. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  163. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  164. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  165. package/lib/components/booking/addons/index.d.ts +17 -0
  166. package/lib/components/booking/addons/model.d.ts +1 -10
  167. package/lib/components/booking/components/footer/amount.d.ts +25 -0
  168. package/lib/components/booking/components/footer/index.d.ts +12 -0
  169. package/lib/components/booking/components/footer/utils.d.ts +47 -0
  170. package/lib/components/booking/components/voucher/index.d.ts +4 -0
  171. package/lib/components/booking/dashboard/index.d.ts +20 -0
  172. package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
  173. package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
  174. package/lib/components/booking/deposit/index.d.ts +3 -0
  175. package/lib/components/booking/forms/forms.d.ts +30 -0
  176. package/lib/components/booking/forms/model.d.ts +1 -10
  177. package/lib/components/booking/hooks/useQuotation.d.ts +6 -0
  178. package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
  179. package/lib/components/booking/info/client/index.d.ts +4 -0
  180. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  181. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  182. package/lib/components/booking/info/date/index.d.ts +5 -0
  183. package/lib/components/booking/info/header/index.d.ts +4 -0
  184. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  185. package/lib/components/booking/info/index.d.ts +4 -0
  186. package/lib/components/booking/info/main.d.ts +12 -0
  187. package/lib/components/booking/info/model.d.ts +5 -0
  188. package/lib/components/booking/info/pet/index.d.ts +14 -0
  189. package/lib/components/booking/info/service/Lists.d.ts +3 -0
  190. package/lib/components/booking/info/service/addService/index.d.ts +12 -0
  191. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  192. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +5 -0
  193. package/lib/components/booking/info/service/editService/index.d.ts +7 -0
  194. package/lib/components/booking/info/service/serviceItem/index.d.ts +4 -0
  195. package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
  196. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  197. package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
  198. package/lib/components/booking/info/service2/Lists.d.ts +3 -0
  199. package/lib/components/booking/info/service2/utils.d.ts +248 -0
  200. package/lib/components/booking/info/utils.d.ts +50 -0
  201. package/lib/components/booking/info2/index.d.ts +12 -0
  202. package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
  203. package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
  204. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  205. package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
  206. package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
  207. package/lib/components/booking/info2/service/index.d.ts +4 -0
  208. package/lib/components/booking/info2/service/serviceItem/index.d.ts +4 -0
  209. package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
  210. package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
  211. package/lib/components/booking/model.d.ts +112 -0
  212. package/lib/components/booking/notes/NoteBlock/index.d.ts +17 -0
  213. package/lib/components/booking/notes/addNote/index.d.ts +4 -0
  214. package/lib/components/booking/notes/model.d.ts +1 -10
  215. package/lib/components/booking/payments/model.d.ts +1 -10
  216. package/lib/components/booking/utils.d.ts +175 -0
  217. package/lib/components/eftpos/PairModal/index.d.ts +11 -0
  218. package/lib/components/eftpos/SettlementModal/index.d.ts +8 -0
  219. package/lib/components/eftpos/SettlementModal/serve.d.ts +8 -0
  220. package/lib/components/eftpos/SettlementModal/utils.d.ts +18 -0
  221. package/lib/components/eftpos/device.d.ts +11 -0
  222. package/lib/components/eftpos/index.d.ts +47 -0
  223. package/lib/components/eftpos/index.js +3 -3
  224. package/lib/components/eftpos/table.d.ts +21 -0
  225. package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +6 -0
  226. package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
  227. package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
  228. package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +132 -0
  229. package/lib/components/eftposPay/aggregatePayment/utils/payment.js +6 -1
  230. package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  231. package/lib/components/eftposPay/component/fail/index.d.ts +4 -0
  232. package/lib/components/eftposPay/device.d.ts +24 -0
  233. package/lib/components/eftposPay/device.js +24 -21
  234. package/lib/components/eftposPay/hooks.d.ts +2 -2
  235. package/lib/components/eftposPay/index.d.ts +5 -0
  236. package/lib/components/eftposPay/linkly/const.d.ts +23 -0
  237. package/lib/components/eftposPay/linkly/index.d.ts +3 -0
  238. package/lib/components/eftposPay/manufacturer.d.ts +8 -0
  239. package/lib/components/eftposPay/mx51/Result.d.ts +5 -0
  240. package/lib/components/eftposPay/mx51/const.d.ts +5 -0
  241. package/lib/components/eftposPay/mx51/index.d.ts +6 -0
  242. package/lib/components/eftposPay/pay.d.ts +21 -0
  243. package/lib/components/eftposPay/payo/config.d.ts +13 -0
  244. package/lib/components/eftposPay/payo/const.d.ts +26 -0
  245. package/lib/components/eftposPay/tyro/const.d.ts +17 -0
  246. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  247. package/lib/components/eftposPay/windcave/const.d.ts +119 -0
  248. package/lib/components/eftposPay/windcave/windcave.d.ts +7 -0
  249. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
  250. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +11 -0
  251. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
  252. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
  253. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  254. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +9 -0
  255. package/lib/components/pay/toC/WalletPassBlock/index.d.ts +21 -0
  256. package/lib/components/pay/toC/index.d.ts +3 -0
  257. package/lib/components/pay/toC/model.d.ts +32 -0
  258. package/lib/components/pay/toC/serve.d.ts +62 -0
  259. package/lib/components/pay/toC/utils.d.ts +57 -0
  260. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  261. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  262. package/lib/components/productSelect/components/TabProduct/index.d.ts +3 -0
  263. package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  264. package/lib/components/productSelect/components/productGroup/index.d.ts +39 -0
  265. package/lib/components/schedules/model.d.ts +1 -9
  266. package/lib/components/shoppingCart/components/Cart/Product.d.ts +4 -0
  267. package/lib/components/shoppingCart/components/Cart/index.d.ts +4 -0
  268. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  269. package/lib/components/subTotal/index.d.ts +24 -0
  270. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  271. package/lib/components/systemSettings/registry/index.d.ts +5 -0
  272. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +10 -0
  273. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  274. package/lib/components/ticketBooking/components/menuBar/index.d.ts +4 -0
  275. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
  276. package/lib/components/ticketBooking/components/timeBar/index.d.ts +13 -0
  277. package/lib/components/ticketBooking/index.d.ts +8 -0
  278. package/lib/components/ticketBooking/serve.d.ts +287 -0
  279. package/lib/components/ticketBooking/utils/formatTime.d.ts +31 -0
  280. package/lib/components/ticketBooking/utils/index.d.ts +25 -0
  281. package/lib/components/walletList/index.d.ts +4 -0
  282. package/lib/index.d.ts +66 -0
  283. package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  284. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  285. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +12 -0
  286. package/lib/plus/productSelect/index.d.ts +32 -0
  287. package/lib/plus/selectHolder/index.d.ts +7 -0
  288. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
  289. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +4 -0
  290. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +11 -0
  291. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +16 -0
  292. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  293. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  294. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  295. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +10 -0
  296. package/lib/plus/walletPassGallery/components/passList/index.d.ts +13 -0
  297. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +10 -0
  298. package/lib/plus/walletPassGallery/index.d.ts +7 -0
  299. package/lib/plus/walletPassGallery/serve.d.ts +243 -0
  300. package/lib/pro/Cards/components/SKUCard/index.d.ts +60 -0
  301. package/lib/pro/Login2.0/Login2.d.ts +61 -0
  302. package/lib/pro/Selector/Selector.d.ts +14 -0
  303. package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
  304. package/lib/pro/skuDetailModal/index.d.ts +4 -0
  305. package/package.json +3 -3
package/es/index.d.ts ADDED
@@ -0,0 +1,66 @@
1
+ export { default as Login } from './components/login';
2
+ export type { LoginProps } from './components/login';
3
+ export { default as BookingInfo } from './components/booking/info/index';
4
+ export { default as BookingNotes } from './components/booking/notes';
5
+ export { default as BookingAddons } from './components/booking/addons';
6
+ export { default as BookingForms } from './components/booking/forms';
7
+ export { default as BookingPayment } from './components/booking/payments';
8
+ export { default as Booking } from './components/booking';
9
+ export { default as Schedules } from './components/schedules';
10
+ export { default as BookingResources } from './components/booking/materiels/resources';
11
+ export { default as BookingStartTime } from './components/booking/materiels/startTime';
12
+ export { default as BookingDuration } from './components/booking/materiels/duration';
13
+ export { default as BookingContacts } from './components/booking/materiels/contacts';
14
+ export { VerticalClient } from './components/booking/info/clientVariant';
15
+ export { default as VerticalAddService } from './components/booking/info/addServiceVariant';
16
+ export { default as ProductExtension } from './components/productExtension';
17
+ export { default as BookingDeposit } from './components/booking/deposit';
18
+ export { default as WorkspaceList } from './components/workSpaceList';
19
+ export { default as WorkspaceListDetail } from './components/workSpaceListDetail';
20
+ export { default as RuleSetting } from './components/ruleSetting';
21
+ export { default as TaxSelect } from './components/taxSelect';
22
+ export { default as EftposPay } from './components/eftposPay';
23
+ export { default as ToCPay } from './components/pay/toC';
24
+ export { default as Eftpos } from './components/eftpos';
25
+ export { default as WalletList } from './components/walletList';
26
+ export { default as BookingDashboard } from './components/booking/dashboard';
27
+ export { default as PisellSelectCustomerModal } from './components/pisellSelectCustomerModal';
28
+ export { default as EventBooking } from './components/eventBooking';
29
+ export { default as EventCard } from './components/eventBooking/components/eventCard';
30
+ export { default as EventResourceDisplay } from './components/eventBooking/components/resourceDisplay';
31
+ export { default as EventResourceUsability } from './components/eventBooking/components/resourceUsability';
32
+ export { default as EventProductCard } from './components/eventBooking/components/productCard';
33
+ export { default as EventTimeResourceSelector } from './components/eventBooking/components/timeResourceSelector';
34
+ export { default as EventSelectHolder } from './components/eventBooking/components/selectHolder';
35
+ export { default as EventBookingServiceList } from './components/eventBooking/components/bookingServiceList';
36
+ export { default as EventBookingAvailabilityCalendar } from './components/eventBooking/components/bookingAvailabilityCalendar';
37
+ export { default as EventScheduleCalendar } from './components/eventBooking/components/scheduleCalendar';
38
+ export { default as EventBookingDetailModal } from './components/eventBooking/components/bookingDetailModal';
39
+ export { default as EventProgressBar } from './components/eventBooking/components/progressBar';
40
+ export { default as ShoppingCart } from './components/shoppingCart';
41
+ export { default as AppointmentBooking } from './components/appointmentBooking';
42
+ export { default as AppointmentDeposit } from './components/appointmentBooking/deposit';
43
+ export { default as TicketBooking } from './components/ticketBooking';
44
+ export { default as SubTotal } from './components/subTotal';
45
+ export { default as EditBookingModal } from './components/booking/editBookingModal';
46
+ export { default as StepController } from './components/stepController';
47
+ export { default as SaasLogin } from './plus/saasLogin';
48
+ export { default as SaasRegister } from './plus/saasRegister';
49
+ export { default as SaasCreateOrganization } from './plus/saasCreateOrganization';
50
+ export { default as PinModal } from './components/pinModal';
51
+ export { default as PinVerifyModal } from './components/pinVerifyModal';
52
+ export { OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth } from './components/authentication/admin';
53
+ export type { SaaSAdminAuthProps, OrgAdminAuthProps, DeviceAuthProps, POSOperatorAuthProps, CustomerOAuthConfigProps } from './components/authentication/admin';
54
+ export { default as ContactInfo } from './plus/contactInfo';
55
+ export { default as ContactInfoModal } from './plus/contactInfoModal';
56
+ export { Login2, Register2, AuthModal } from './pro/Login2.0';
57
+ export { default as WalletEditor } from './plus/walletEditor';
58
+ export { default as WalletPassGallery } from './plus/walletPassGallery';
59
+ export { default as WalletPassDetail } from './plus/walletPassGallery/components/passDetail';
60
+ export { default as SelectHolder } from './plus/selectHolder';
61
+ export { default as HolderList } from './plus/selectHolder/components/HolderList';
62
+ export { default as SettingsRegistry } from './components/systemSettings/registry';
63
+ export { default as KioskSkuDetail } from './components/kioskSkuDetail';
64
+ export { default as ProNumberSelector } from './pro/pisellNumberSelector';
65
+ export { default as Selector } from './pro/Selector';
66
+ export { default as SKUOptionsSelection } from './plus/skuOptionsSelection';
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import '../components/TabsStructure/TabsStructure.less';
3
+ import CategorySkeleton from './CategorySkeleton';
4
+ declare type TabItem = {
5
+ key: string;
6
+ label: React.ReactNode;
7
+ icon?: React.ReactNode;
8
+ };
9
+ interface IProps {
10
+ className?: string;
11
+ items: TabItem[];
12
+ activeKey: string;
13
+ onChange: (key: string) => void;
14
+ loading?: boolean;
15
+ skeleton?: React.ReactNode;
16
+ style?: React.CSSProperties;
17
+ id?: string;
18
+ }
19
+ declare const CategoryTabs: React.ForwardRefExoticComponent<IProps & React.RefAttributes<unknown>>;
20
+ export default CategoryTabs;
21
+ export { CategorySkeleton };
@@ -0,0 +1,47 @@
1
+ import React from 'react';
2
+ import ProductCardSkeleton from './ProductCardSkeleton';
3
+ import './index.less';
4
+ declare type BoolConfigVal = 0 | 1;
5
+ export interface ProductCardConfig {
6
+ isProductCover?: BoolConfigVal;
7
+ imgWidth?: string;
8
+ imgHeight?: string;
9
+ radius?: number;
10
+ isTitle?: BoolConfigVal;
11
+ isSubtitle?: BoolConfigVal;
12
+ showSpec?: boolean;
13
+ isTag?: BoolConfigVal;
14
+ isPrice?: BoolConfigVal;
15
+ isOriginPrice?: BoolConfigVal;
16
+ showZeroPrice?: boolean;
17
+ showMarketingTag?: boolean;
18
+ showRemark?: boolean;
19
+ isStock?: BoolConfigVal;
20
+ }
21
+ export interface ProductCardProps {
22
+ item: any;
23
+ index: number;
24
+ context?: {
25
+ onItemIntersectionIn: (item: any) => void;
26
+ onItemIntersectionOut: (item: any) => void;
27
+ };
28
+ className?: string;
29
+ onSelectProduct?: (item: any) => void;
30
+ currentProductId?: number;
31
+ onSelect?: (item: any) => void;
32
+ onSelectCover?: (item: any) => void;
33
+ onSelectInfo?: (item: any) => void;
34
+ isSelected?: boolean;
35
+ decorateConfig?: ProductCardConfig;
36
+ }
37
+ export declare const ProductCard: React.MemoExoticComponent<({ item, index, context, onSelect, onSelectCover, onSelectInfo, isSelected, className, decorateConfig, }: ProductCardProps) => React.JSX.Element>;
38
+ export declare const DefaultItemContent: React.MemoExoticComponent<(props: {
39
+ item: any;
40
+ index: number;
41
+ context?: {
42
+ onItemIntersectionIn: (item: any) => void;
43
+ onItemIntersectionOut: (item: any) => void;
44
+ } | undefined;
45
+ }) => React.JSX.Element>;
46
+ export default ProductCard;
47
+ export { ProductCardSkeleton };
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface IProps {
4
+ value: string | number;
5
+ isMini?: boolean;
6
+ className?: string;
7
+ style?: React.CSSProperties;
8
+ prefix?: React.ReactElement;
9
+ suffix?: React.ReactElement;
10
+ }
11
+ declare const index: (props: IProps) => React.JSX.Element;
12
+ export default index;
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface ProductSelectProps {
4
+ dataSource: any[];
5
+ showSearch?: boolean;
6
+ showTab?: boolean;
7
+ layout?: {
8
+ grid: boolean;
9
+ config: string;
10
+ };
11
+ onChange: (value: any, type?: string) => void;
12
+ value?: number;
13
+ loading?: boolean;
14
+ style?: React.CSSProperties;
15
+ emptyDescription?: string;
16
+ /** 当前滚动元素 */
17
+ scrollDom?: string;
18
+ /** 商品列表上方的其它组件 */
19
+ offsetDom?: any;
20
+ /** 样式变量 */
21
+ token?: Partial<any>;
22
+ /** 后台装修单选模式下的已选中项 */
23
+ selectedItems?: Array<any>;
24
+ /** 后台装修配置 */
25
+ productListSetting?: Partial<any>;
26
+ /** 兼容scrollDom */
27
+ customScrollParent?: HTMLElement | string;
28
+ hideCategoryWhenOne?: boolean;
29
+ }
30
+ export declare const PREFIX = "pisell-product-select";
31
+ declare const index: ({ dataSource, emptyDescription, showSearch, scrollDom, offsetDom, style, token: customToken, onChange, value, selectedItems, productListSetting, customScrollParent, loading, layout, hideCategoryWhenOne, ...rest }: ProductSelectProps) => React.JSX.Element;
32
+ export default index;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { PisellSelectHolderProps } from './types';
3
+ import './index.less';
4
+ export declare const PREFIX = "pisell-lowcode-select-holder";
5
+ declare const PisellSelectHolder: React.FC<PisellSelectHolderProps>;
6
+ export default PisellSelectHolder;
7
+ export { default as HolderList } from './components/HolderList';
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { RenderItemProps } from '../../../../pro/Selector/types';
3
+ declare const NormalCard: (props: RenderItemProps & {
4
+ parentDataSource: any;
5
+ }) => React.JSX.Element;
6
+ export default NormalCard;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const OptionItemCard: (props: any) => React.JSX.Element;
4
+ export default OptionItemCard;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 单规格商品卡片,点击后需要拉起弹窗展示具体的规格信息
3
+ */
4
+ import React from 'react';
5
+ import { RenderItemProps } from '../../../../pro/Selector/types';
6
+ import './index.less';
7
+ declare const OptionsCard: (props: RenderItemProps & {
8
+ parentDataSource: any;
9
+ mode: 'single' | 'multiple';
10
+ }) => React.JSX.Element;
11
+ export default OptionsCard;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ interface OptionsModalProps {
3
+ parentDataSource: any;
4
+ dataSource: any;
5
+ modalDataSource: any;
6
+ values: any;
7
+ optionItemValue?: any;
8
+ modalValue: any;
9
+ remainingCount: number;
10
+ open: boolean;
11
+ title: string;
12
+ onCancel: () => void;
13
+ onConfirm: (v: any) => void;
14
+ }
15
+ declare const OptionsModal: (props: OptionsModalProps) => React.JSX.Element;
16
+ export default OptionsModal;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { IProps } from './types';
3
+ import './index.less';
4
+ declare const SKUOptionsSelection: React.ForwardRefExoticComponent<IProps & React.RefAttributes<unknown>>;
5
+ export default SKUOptionsSelection;
@@ -0,0 +1,19 @@
1
+ interface BundleItem {
2
+ id: string | number;
3
+ title?: string;
4
+ name?: string;
5
+ min_quantity?: number;
6
+ max_quantity?: number;
7
+ bundle_item?: Array<{
8
+ id: string | number;
9
+ title?: string;
10
+ cover?: string;
11
+ price?: number;
12
+ subtitle?: string;
13
+ [key: string]: any;
14
+ }>;
15
+ required?: 0 | 1;
16
+ is_enabled?: 0 | 1;
17
+ }
18
+ export declare const transformBundleGroup: (bundleGroup: BundleItem[]) => any[];
19
+ export {};
@@ -0,0 +1,37 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export declare type WalletPassType = 'rechargeable' | 'point' | 'voucher' | 'discount';
4
+ export interface MultiLanguageTitle {
5
+ original?: string;
6
+ en?: string;
7
+ 'zh-CN'?: string;
8
+ 'zh-HK'?: string;
9
+ }
10
+ export interface WalletPassItem {
11
+ /** 钱包通行证类型 */
12
+ type: WalletPassType;
13
+ /** 是否显示,1表示显示,0表示隐藏 */
14
+ display: 0 | 1;
15
+ /** 自定义标题,支持多语言 */
16
+ custom_title?: MultiLanguageTitle;
17
+ }
18
+ export interface SortableWalletPassTypesProps {
19
+ /** 当前值,包含各种钱包通行证类型的配置 */
20
+ value?: WalletPassItem[];
21
+ /** 值变化时的回调函数 */
22
+ onChange?: (value: WalletPassItem[]) => void;
23
+ /** 是否禁用编辑 */
24
+ disabled?: boolean;
25
+ /** 组件类名 */
26
+ className?: string;
27
+ /** 组件样式 */
28
+ style?: React.CSSProperties;
29
+ }
30
+ /** 默认的钱包通行证类型配置 */
31
+ export interface WalletPassTypeInfo {
32
+ type: WalletPassType;
33
+ custom_title: MultiLanguageTitle;
34
+ }
35
+ export declare const DEFAULT_WALLET_PASS_TYPES_CONFIG: WalletPassTypeInfo[];
36
+ declare const SortableWalletPassTypes: React.FC<SortableWalletPassTypesProps>;
37
+ export default SortableWalletPassTypes;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface PassDetailProps {
4
+ dataSource?: any | null;
5
+ platform?: 'pc' | 'h5';
6
+ buttonGroupList?: any[][];
7
+ showTimeLine?: boolean;
8
+ }
9
+ declare const PassDetail: (props: PassDetailProps) => React.JSX.Element | null;
10
+ export default PassDetail;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface IPassListProps {
3
+ dataSource: any[];
4
+ value?: string | number;
5
+ onChange?: (newId: string | number) => void;
6
+ valuePropName?: string;
7
+ hasMore?: boolean;
8
+ onLoadMore?: () => void;
9
+ loading?: boolean;
10
+ onEditHolder?: (info: any) => void;
11
+ }
12
+ declare const PassList: (props: IPassListProps) => React.JSX.Element;
13
+ export default PassList;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface TimelineSectionProps {
4
+ code: string;
5
+ tag: string;
6
+ timezone: string;
7
+ apiPrefix?: '/shop' | '/h5';
8
+ }
9
+ declare const TimelineSection: (props: TimelineSectionProps) => React.JSX.Element;
10
+ export default TimelineSection;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface WalletPassGalleryProps {
4
+ [key: string]: any;
5
+ }
6
+ declare const WalletPassGallery: (props: WalletPassGalleryProps) => React.JSX.Element;
7
+ export default WalletPassGallery;
@@ -0,0 +1,243 @@
1
+ /**
2
+ * 钱包列表查询参数接口
3
+ */
4
+ export interface IWalletListParmsProps {
5
+ tags?: string[];
6
+ sales_status?: 1 | 0 | -1;
7
+ machine_search?: string;
8
+ createdDate?: string;
9
+ limit_status?: string;
10
+ relation_id?: string;
11
+ relation_type?: string;
12
+ customer_id?: number;
13
+ sort?: 'desc' | 'asc';
14
+ order_by?: string;
15
+ used_status?: string;
16
+ num?: number;
17
+ skip?: number;
18
+ filter_wallet_id?: string;
19
+ filter_holder_id?: string;
20
+ available: 0 | 1;
21
+ with?: string[];
22
+ }
23
+ /**
24
+ * 钱包列表项属性接口
25
+ */
26
+ export interface IWalletListItemProps {
27
+ id?: number | string;
28
+ encoded?: string;
29
+ code?: string;
30
+ limit_status?: string;
31
+ customer_id?: number;
32
+ generate_method?: 'not_settable' | 'before_order' | 'after_order';
33
+ created_at?: string;
34
+ product_id?: number;
35
+ sales_status?: 1 | 0;
36
+ tag?: string;
37
+ status?: string;
38
+ redeemed_at?: string;
39
+ collection_time?: string;
40
+ order_id?: number;
41
+ par_value?: string;
42
+ write_status?: number;
43
+ expire_date?: string;
44
+ balance?: string;
45
+ extension_id?: string;
46
+ product_title?: string;
47
+ product_cover?: string;
48
+ product?: IProductProps;
49
+ unified_available_status?: 0 | 1;
50
+ unified_error_code?: number;
51
+ shop: IShop;
52
+ unified_messages: any;
53
+ machinecode_config?: {
54
+ hide_recharge?: number;
55
+ };
56
+ }
57
+ /**
58
+ * 商店信息接口
59
+ */
60
+ export interface IShop {
61
+ name: string;
62
+ id: number;
63
+ }
64
+ /**
65
+ * 商品属性接口
66
+ */
67
+ export interface IProductProps {
68
+ id?: number;
69
+ title?: string;
70
+ description?: string;
71
+ }
72
+ /**
73
+ * API响应接口
74
+ */
75
+ export interface ApiResponse<T> {
76
+ data: T;
77
+ code?: number;
78
+ message?: string;
79
+ }
80
+ /**
81
+ * 错误处理函数类型
82
+ */
83
+ export declare type ErrorCallback = () => void;
84
+ /**
85
+ * 获取钱包列表
86
+ * @param params 查询参数
87
+ * @returns Promise<{list: IWalletListItemProps[], count: number}> 钱包列表和总数
88
+ * @throws 请求失败时抛出错误
89
+ */
90
+ export declare const getWalletPassList: (params?: IWalletListParmsProps) => Promise<{
91
+ list: IWalletListItemProps[];
92
+ count: number;
93
+ }>;
94
+ /**
95
+ * 通过code绑定客户
96
+ * @param params 请求参数,包含code
97
+ * @param errCallback 错误回调
98
+ * @returns Promise<any> 绑定结果
99
+ */
100
+ export declare const bindCodeToCustomer: (params: {
101
+ code: string;
102
+ }) => Promise<any>;
103
+ /**
104
+ * 用户根据code查询待绑定识别码列表
105
+ * @param params 请求参数,包含code和tag
106
+ * @param errCallback 错误回调函数
107
+ * @returns Promise<IWalletListItemProps[] | null> 未绑定的钱包卡列表
108
+ */
109
+ export declare const getUnbindList: (params: {
110
+ code: string;
111
+ tag?: string;
112
+ }) => Promise<IWalletListItemProps[] | null>;
113
+ /**
114
+ * 下单请求参数接口
115
+ */
116
+ export interface IOrderParams {
117
+ voucher_id: string;
118
+ product_id: string;
119
+ product_variant_id: string;
120
+ quantity: number;
121
+ type: string;
122
+ platform: string;
123
+ currency_code: {
124
+ currency_code: string;
125
+ currency_symbol: string;
126
+ currency_format: string;
127
+ };
128
+ }
129
+ /**
130
+ * 下单
131
+ * @param params 下单参数
132
+ * @returns Promise<any> 下单结果
133
+ * @throws 请求失败时抛出错误
134
+ */
135
+ export declare const goOrder: (params: IOrderParams) => Promise<any>;
136
+ /**
137
+ * 设置请求对象
138
+ * @param req 请求对象
139
+ */
140
+ export declare const setRequest: (req: any) => void;
141
+ interface IAssetListProps {
142
+ skip?: string;
143
+ num?: string;
144
+ card_id?: string;
145
+ sourceType?: string;
146
+ business_object?: string;
147
+ tag?: string;
148
+ }
149
+ export interface IAssetItem {
150
+ id?: string;
151
+ tag?: 'gift_card' | 'product_voucher' | 'point_card' | 'product_discount_card';
152
+ shop_id?: string;
153
+ transaction_id?: string;
154
+ title?: string;
155
+ created_at?: string;
156
+ amount?: string;
157
+ balance?: string;
158
+ currency_symbol?: string;
159
+ action?: 'recharge' | 'order_expend' | 'order_refund' | 'expire';
160
+ }
161
+ /**
162
+ * 资产明细列表
163
+ * @param params 接口请求参数
164
+ * @returns 资产明细列表
165
+ */
166
+ export declare const getAssetList: (params: IAssetListProps) => Promise<{
167
+ list: IAssetItem[];
168
+ }>;
169
+ /**
170
+ * 资产明细(admin)
171
+ */
172
+ export declare const getActiveLogs: (params: {
173
+ filter_card_id: string;
174
+ }) => Promise<{
175
+ list: IAssetItem[];
176
+ }>;
177
+ /**
178
+ * 获取资产详情
179
+ * @param params 接口请求参数
180
+ * @returns 资产详情
181
+ */
182
+ export declare const getDetailApi: (params: {
183
+ id: string;
184
+ order_behavior_count_customer_id: string;
185
+ apiPrefix: string;
186
+ }) => Promise<IDetailResponse>;
187
+ /**
188
+ * 详情响应数据结构,供组件消费
189
+ */
190
+ export interface IDetailResponse {
191
+ detailId?: string;
192
+ productId?: string;
193
+ gift_option?: Array<{
194
+ id: string;
195
+ name: string;
196
+ gift_price: number;
197
+ price: number;
198
+ variant_id?: string;
199
+ }>;
200
+ [key: string]: any;
201
+ }
202
+ interface OrderParams {
203
+ voucher_id: string;
204
+ product_id: string;
205
+ product_variant_id: string;
206
+ quantity: number;
207
+ type: string;
208
+ platform: string;
209
+ currency_code: {
210
+ currency_code: string;
211
+ currency_symbol: string;
212
+ currency_format: string;
213
+ };
214
+ }
215
+ interface OrderResponse {
216
+ order_id: string;
217
+ }
218
+ /**
219
+ * 下单接口
220
+ * @param params - 订单参数
221
+ * @returns 订单响应数据
222
+ */
223
+ export declare const orderRechargeProduct: (params: OrderParams) => Promise<OrderResponse>;
224
+ /**
225
+ * @desc: 获取钱包信息
226
+ * @author: Arthur
227
+ * @date: 2025-11-03 15:30
228
+ */
229
+ export declare const getWalletDetail: (id: string | number) => Promise<any>;
230
+ /**
231
+ * 更新卡券持有人
232
+ * @param id 卡券ID
233
+ * @param params 更新参数
234
+ * @returns 更新结果
235
+ */
236
+ export declare const updateWalletPassHolder: (id: string, params: any) => Promise<any>;
237
+ /**
238
+ * 获取卡券详情
239
+ * @param id 卡券ID
240
+ * @returns 卡券详情
241
+ */
242
+ export declare const getWalletPassDetail: (id: string, params: any) => Promise<any>;
243
+ export {};
@@ -0,0 +1,60 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ /**
4
+ * SKU Card 文本样式配置
5
+ */
6
+ interface SkuCardTextConfig {
7
+ /** 是否显示 */
8
+ visible?: boolean;
9
+ /** 字体大小 */
10
+ fontSize?: number;
11
+ /** 颜色 */
12
+ color?: string;
13
+ /** 字体粗细 */
14
+ fontWeight?: 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
15
+ /** 展示行数 */
16
+ lineClamp?: number;
17
+ }
18
+ /**
19
+ * SKU Card 图片配置
20
+ */
21
+ interface SkuCardImageConfig {
22
+ /** 是否显示 */
23
+ visible?: boolean;
24
+ /** 宽度 */
25
+ width?: number;
26
+ /** 高度 */
27
+ height?: number;
28
+ /** 圆角 */
29
+ borderRadius?: number | string;
30
+ /** 边框 */
31
+ border?: string;
32
+ }
33
+ /**
34
+ * SKU Card 配置
35
+ */
36
+ interface SkuCardConfig {
37
+ /** 主标题配置 */
38
+ title?: SkuCardTextConfig;
39
+ /** 副标题配置 */
40
+ subTitle?: SkuCardTextConfig;
41
+ /** 价格配置 */
42
+ price?: Omit<SkuCardTextConfig, 'lineClamp'>;
43
+ /** 图片配置 */
44
+ image?: SkuCardImageConfig;
45
+ }
46
+ interface SKUCardProps {
47
+ cover?: string;
48
+ title?: string;
49
+ subtitle?: string;
50
+ price?: string;
51
+ arrow?: boolean;
52
+ selected?: boolean;
53
+ disabled?: boolean;
54
+ onClick?: () => void;
55
+ renderRight?: React.ReactNode | (() => React.ReactNode);
56
+ /** SKU Card 配置 */
57
+ skuCardConfig?: SkuCardConfig;
58
+ }
59
+ declare const SKUCard: React.FC<SKUCardProps>;
60
+ export default SKUCard;