@pisell/private-materials 6.5.12 → 6.5.14

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 (492) 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 +164 -148
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +7 -7
  11. package/es/components/Sales/Summary/utils.d.ts +1 -1
  12. package/es/components/booking/addons/model.d.ts +10 -1
  13. package/es/components/booking/components/actionButtons/index.js +15 -9
  14. package/es/components/booking/components/footer/index.js +2 -2
  15. package/es/components/booking/components/voucher/index.js +23 -19
  16. package/es/components/booking/forms/footer.js +4 -13
  17. package/es/components/booking/forms/model.d.ts +10 -1
  18. package/es/components/booking/info/model.d.ts +10 -1
  19. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  20. package/es/components/booking/info2/cartClientCard/index.js +7 -3
  21. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  22. package/es/components/booking/model.d.ts +9 -1
  23. package/es/components/booking/notes/model.d.ts +10 -1
  24. package/es/components/booking/payments/model.d.ts +10 -1
  25. package/es/components/booking/utils.d.ts +2 -2
  26. package/es/components/checkout/PaymentModal.js +17 -12
  27. package/es/components/checkout/components/CashPaymentModule/index.js +9 -9
  28. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  29. package/es/components/checkout/hooks/useWalletPass.js +40 -22
  30. package/es/components/eftposPay/hooks.d.ts +2 -2
  31. package/es/components/eftposPay/store/index.d.ts +4 -4
  32. package/es/components/list/List.d.ts +5 -0
  33. package/es/components/list/List.js +957 -0
  34. package/es/components/list/List.less +2 -0
  35. package/es/components/list/ResponsiveWrapper.d.ts +16 -0
  36. package/es/components/list/ResponsiveWrapper.js +130 -0
  37. package/es/components/list/TestResponsiveWrapper.d.ts +8 -0
  38. package/es/components/list/TestResponsiveWrapper.js +816 -0
  39. package/es/components/list/TestResponsiveWrapper.less +968 -0
  40. package/es/components/list/components/EmptyState/EmptyState.d.ts +20 -0
  41. package/es/components/list/components/EmptyState/EmptyState.js +75 -0
  42. package/es/components/list/components/EmptyState/EmptyState.less +121 -0
  43. package/es/components/list/components/EmptyState/index.d.ts +2 -0
  44. package/es/components/list/components/EmptyState/index.js +1 -0
  45. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
  46. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.js +39 -0
  47. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.less +29 -0
  48. package/es/components/list/components/ListItemSkeleton/index.d.ts +2 -0
  49. package/es/components/list/components/ListItemSkeleton/index.js +2 -0
  50. package/es/components/list/components/Pagination/Pagination.d.ts +30 -0
  51. package/es/components/list/components/Pagination/Pagination.js +240 -0
  52. package/es/components/list/components/Pagination/Pagination.less +439 -0
  53. package/es/components/list/components/Pagination/index.d.ts +1 -0
  54. package/es/components/list/components/Pagination/index.js +1 -0
  55. package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
  56. package/es/components/list/components/ScrollLoader/ScrollLoader.js +18 -0
  57. package/es/components/list/components/ScrollLoader/ScrollLoader.less +3 -0
  58. package/es/components/list/components/ScrollLoader/index.d.ts +2 -0
  59. package/es/components/list/components/ScrollLoader/index.js +1 -0
  60. package/es/components/list/components/Tab/Tab.d.ts +5 -0
  61. package/es/components/list/components/Tab/Tab.js +43 -0
  62. package/es/components/list/components/Tab/Tab.less +139 -0
  63. package/es/components/list/components/Tab/index.d.ts +2 -0
  64. package/es/components/list/components/Tab/index.js +1 -0
  65. package/es/components/list/components/Tab/types.d.ts +14 -0
  66. package/es/components/list/components/Tab/types.js +1 -0
  67. package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
  68. package/es/components/list/components/TabSkeleton/TabSkeleton.js +28 -0
  69. package/es/components/list/components/TabSkeleton/TabSkeleton.less +38 -0
  70. package/es/components/list/components/TabSkeleton/index.d.ts +2 -0
  71. package/es/components/list/components/TabSkeleton/index.js +2 -0
  72. package/es/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
  73. package/es/components/list/components/WaterfallList/WaterfallList.js +191 -0
  74. package/es/components/list/components/WaterfallList/WaterfallList.less +201 -0
  75. package/es/components/list/components/WaterfallList/index.d.ts +2 -0
  76. package/es/components/list/components/WaterfallList/index.js +1 -0
  77. package/es/components/list/examples/GroupedListExample.d.ts +3 -0
  78. package/es/components/list/examples/GroupedListExample.js +207 -0
  79. package/es/components/list/hooks/index.d.ts +5 -0
  80. package/es/components/list/hooks/index.js +3 -0
  81. package/es/components/list/hooks/useDevice.d.ts +24 -0
  82. package/es/components/list/hooks/useDevice.js +102 -0
  83. package/es/components/list/hooks/useListState.d.ts +43 -0
  84. package/es/components/list/hooks/useListState.js +176 -0
  85. package/es/components/list/hooks/useWaterfall.d.ts +34 -0
  86. package/es/components/list/hooks/useWaterfall.js +161 -0
  87. package/es/components/list/index.d.ts +10 -0
  88. package/es/components/list/index.js +7 -0
  89. package/es/components/list/locales.d.ts +66 -0
  90. package/es/components/list/locales.js +107 -0
  91. package/es/components/list/styles/base.less +39 -0
  92. package/es/components/list/styles/content.less +415 -0
  93. package/es/components/list/styles/floatButton.less +107 -0
  94. package/es/components/list/styles/footer.less +49 -0
  95. package/es/components/list/styles/header.less +69 -0
  96. package/es/components/list/styles/responsive.less +166 -0
  97. package/es/components/list/types.d.ts +177 -0
  98. package/es/components/list/types.js +1 -0
  99. package/es/components/list/utils/getText.d.ts +53 -0
  100. package/es/components/list/utils/getText.js +150 -0
  101. package/es/components/list/utils/index.d.ts +4 -0
  102. package/es/components/list/utils/index.js +5 -0
  103. package/es/components/pay/toB/store/hooks.js +19 -5
  104. package/es/components/pay/toC/model.d.ts +9 -1
  105. package/es/components/schedules/model.d.ts +9 -1
  106. package/es/components/schedules/utils.d.ts +1 -1
  107. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
  108. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +143 -0
  109. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
  110. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.js +7 -0
  111. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.less +41 -0
  112. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  113. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.js +273 -0
  114. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +50 -0
  115. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +130 -0
  116. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +20 -0
  117. package/es/components/ticketBooking/components/addServiceVariant/addService.js +32 -10
  118. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -0
  119. package/es/components/ticketBooking/components/addServiceVariant/index.js +4 -2
  120. package/es/components/ticketBooking/components/menuBar/index.d.ts +5 -1
  121. package/es/components/ticketBooking/components/menuBar/index.js +40 -17
  122. package/es/components/ticketBooking/components/menuBar/index.less +27 -1
  123. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  124. package/es/components/ticketBooking/components/ticketBooking/index.js +20 -10
  125. package/es/components/ticketBooking/components/timeBar/index.less +1 -0
  126. package/es/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
  127. package/es/components/ticketBooking/context/IsActiveContext.js +37 -0
  128. package/es/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  129. package/es/components/ticketBooking/context/OsKeyContext.js +37 -0
  130. package/es/components/ticketBooking/context/index.d.ts +2 -0
  131. package/es/components/ticketBooking/context/index.js +2 -0
  132. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +5 -0
  133. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +13 -1
  134. package/es/components/ticketBooking/hooks/pisellos/index.d.ts +1 -0
  135. package/es/components/ticketBooking/hooks/pisellos/index.js +2 -1
  136. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
  137. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.js +50 -0
  138. package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +12 -4
  139. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +5 -2
  140. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +7 -2
  141. package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
  142. package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +17 -0
  143. package/es/components/ticketBooking/index.d.ts +6 -0
  144. package/es/components/ticketBooking/index.js +86 -12
  145. package/es/components/ticketBooking/utils/index.d.ts +28 -1
  146. package/es/components/ticketBooking/utils/index.js +40 -0
  147. package/es/components/wallet/Detail/model.d.ts +13 -1
  148. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  149. package/es/components/wallet/PointCard/model.d.ts +13 -1
  150. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  151. package/es/components/wallet/Voucher/model.d.ts +13 -1
  152. package/es/components/wallet/model.d.ts +9 -1
  153. package/es/index.d.ts +2 -0
  154. package/es/index.js +3 -1
  155. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +3 -0
  156. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +11 -0
  157. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +8 -0
  158. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +3 -0
  159. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +11 -0
  160. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +17 -0
  161. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +3 -0
  162. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +11 -0
  163. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +17 -0
  164. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +3 -0
  165. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +11 -0
  166. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +17 -0
  167. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +3 -0
  168. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +11 -0
  169. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +2 -0
  170. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +7 -0
  171. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +100 -0
  172. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +8 -0
  173. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
  174. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +32 -0
  175. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +3 -0
  176. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +7 -0
  177. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +239 -0
  178. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +44 -0
  179. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
  180. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +34 -0
  181. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +14 -0
  182. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +3 -0
  183. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +33 -0
  184. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +30 -0
  185. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
  186. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +75 -0
  187. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +46 -0
  188. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
  189. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +39 -0
  190. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +9 -0
  191. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +6 -0
  192. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +53 -0
  193. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +31 -0
  194. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
  195. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +31 -0
  196. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +3 -0
  197. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +6 -0
  198. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +58 -0
  199. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +11 -0
  200. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +7 -0
  201. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +85 -0
  202. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +24 -0
  203. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +6 -0
  204. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +121 -0
  205. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +57 -0
  206. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +6 -0
  207. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +95 -0
  208. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +18 -0
  209. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
  210. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +31 -0
  211. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +3 -0
  212. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
  213. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +47 -0
  214. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +3 -0
  215. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
  216. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +34 -0
  217. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +13 -0
  218. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +6 -0
  219. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +95 -0
  220. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +18 -0
  221. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
  222. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +31 -0
  223. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +3 -0
  224. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +6 -0
  225. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +34 -0
  226. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +13 -0
  227. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
  228. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +39 -0
  229. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +22 -0
  230. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
  231. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +20 -0
  232. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +20 -0
  233. package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +6 -0
  234. package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +55 -0
  235. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +8 -0
  236. package/es/plus/productSelect/ProductCard/SkuCard/index.js +38 -0
  237. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
  238. package/es/plus/productSelect/ProductCard/SkuCard/locales.js +41 -0
  239. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
  240. package/es/plus/productSelect/ProductCard/SkuCard/status.js +481 -0
  241. package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
  242. package/es/plus/productSelect/ProductCard/SkuCard/type.js +1 -0
  243. package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
  244. package/es/plus/productSelect/ProductCard/SkuCard/utils.js +21 -0
  245. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +2 -0
  246. package/es/plus/productSelect/components/pisellPriceText/index.js +7 -5
  247. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +20 -10
  248. package/es/pro/priceKeyboard/components/cashKeyboard/index.less +1 -2
  249. package/es/utils/index.d.ts +1 -1
  250. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  251. package/lib/components/booking/addons/model.d.ts +10 -1
  252. package/lib/components/booking/components/actionButtons/index.js +22 -17
  253. package/lib/components/booking/components/footer/index.js +2 -2
  254. package/lib/components/booking/components/voucher/index.js +33 -40
  255. package/lib/components/booking/forms/footer.js +7 -13
  256. package/lib/components/booking/forms/model.d.ts +10 -1
  257. package/lib/components/booking/info/model.d.ts +10 -1
  258. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  259. package/lib/components/booking/info2/cartClientCard/index.js +7 -3
  260. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  261. package/lib/components/booking/model.d.ts +9 -1
  262. package/lib/components/booking/notes/model.d.ts +10 -1
  263. package/lib/components/booking/payments/model.d.ts +10 -1
  264. package/lib/components/booking/utils.d.ts +2 -2
  265. package/lib/components/checkout/PaymentModal.js +15 -12
  266. package/lib/components/checkout/components/CashPaymentModule/index.js +0 -1
  267. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  268. package/lib/components/checkout/hooks/useWalletPass.js +61 -46
  269. package/lib/components/eftposPay/hooks.d.ts +2 -2
  270. package/lib/components/eftposPay/store/index.d.ts +4 -4
  271. package/lib/components/list/List.d.ts +5 -0
  272. package/lib/components/list/List.js +771 -0
  273. package/lib/components/list/List.less +2 -0
  274. package/lib/components/list/ResponsiveWrapper.d.ts +16 -0
  275. package/lib/components/list/ResponsiveWrapper.js +145 -0
  276. package/lib/components/list/TestResponsiveWrapper.d.ts +8 -0
  277. package/lib/components/list/TestResponsiveWrapper.js +493 -0
  278. package/lib/components/list/TestResponsiveWrapper.less +968 -0
  279. package/lib/components/list/components/EmptyState/EmptyState.d.ts +20 -0
  280. package/lib/components/list/components/EmptyState/EmptyState.js +75 -0
  281. package/lib/components/list/components/EmptyState/EmptyState.less +121 -0
  282. package/lib/components/list/components/EmptyState/index.d.ts +2 -0
  283. package/lib/components/list/components/EmptyState/index.js +35 -0
  284. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
  285. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.js +75 -0
  286. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.less +29 -0
  287. package/lib/components/list/components/ListItemSkeleton/index.d.ts +2 -0
  288. package/lib/components/list/components/ListItemSkeleton/index.js +41 -0
  289. package/lib/components/list/components/Pagination/Pagination.d.ts +30 -0
  290. package/lib/components/list/components/Pagination/Pagination.js +205 -0
  291. package/lib/components/list/components/Pagination/Pagination.less +439 -0
  292. package/lib/components/list/components/Pagination/index.d.ts +1 -0
  293. package/lib/components/list/components/Pagination/index.js +35 -0
  294. package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
  295. package/lib/components/list/components/ScrollLoader/ScrollLoader.js +37 -0
  296. package/lib/components/list/components/ScrollLoader/ScrollLoader.less +3 -0
  297. package/lib/components/list/components/ScrollLoader/index.d.ts +2 -0
  298. package/lib/components/list/components/ScrollLoader/index.js +35 -0
  299. package/lib/components/list/components/Tab/Tab.d.ts +5 -0
  300. package/lib/components/list/components/Tab/Tab.js +72 -0
  301. package/lib/components/list/components/Tab/Tab.less +139 -0
  302. package/lib/components/list/components/Tab/index.d.ts +2 -0
  303. package/lib/components/list/components/Tab/index.js +35 -0
  304. package/lib/components/list/components/Tab/types.d.ts +14 -0
  305. package/lib/components/list/components/Tab/types.js +17 -0
  306. package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
  307. package/lib/components/list/components/TabSkeleton/TabSkeleton.js +61 -0
  308. package/lib/components/list/components/TabSkeleton/TabSkeleton.less +38 -0
  309. package/lib/components/list/components/TabSkeleton/index.d.ts +2 -0
  310. package/lib/components/list/components/TabSkeleton/index.js +41 -0
  311. package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
  312. package/lib/components/list/components/WaterfallList/WaterfallList.js +178 -0
  313. package/lib/components/list/components/WaterfallList/WaterfallList.less +201 -0
  314. package/lib/components/list/components/WaterfallList/index.d.ts +2 -0
  315. package/lib/components/list/components/WaterfallList/index.js +35 -0
  316. package/lib/components/list/examples/GroupedListExample.d.ts +3 -0
  317. package/lib/components/list/examples/GroupedListExample.js +210 -0
  318. package/lib/components/list/hooks/index.d.ts +5 -0
  319. package/lib/components/list/hooks/index.js +47 -0
  320. package/lib/components/list/hooks/useDevice.d.ts +24 -0
  321. package/lib/components/list/hooks/useDevice.js +96 -0
  322. package/lib/components/list/hooks/useListState.d.ts +43 -0
  323. package/lib/components/list/hooks/useListState.js +149 -0
  324. package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
  325. package/lib/components/list/hooks/useWaterfall.js +124 -0
  326. package/lib/components/list/index.d.ts +10 -0
  327. package/lib/components/list/index.js +60 -0
  328. package/lib/components/list/locales.d.ts +66 -0
  329. package/lib/components/list/locales.js +113 -0
  330. package/lib/components/list/styles/base.less +39 -0
  331. package/lib/components/list/styles/content.less +415 -0
  332. package/lib/components/list/styles/floatButton.less +107 -0
  333. package/lib/components/list/styles/footer.less +49 -0
  334. package/lib/components/list/styles/header.less +69 -0
  335. package/lib/components/list/styles/responsive.less +166 -0
  336. package/lib/components/list/types.d.ts +177 -0
  337. package/lib/components/list/types.js +17 -0
  338. package/lib/components/list/utils/getText.d.ts +53 -0
  339. package/lib/components/list/utils/getText.js +95 -0
  340. package/lib/components/list/utils/index.d.ts +4 -0
  341. package/lib/components/list/utils/index.js +43 -0
  342. package/lib/components/pay/toB/store/hooks.js +16 -8
  343. package/lib/components/pay/toC/model.d.ts +9 -1
  344. package/lib/components/schedules/model.d.ts +9 -1
  345. package/lib/components/schedules/utils.d.ts +1 -1
  346. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
  347. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +165 -0
  348. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
  349. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.js +45 -0
  350. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.less +41 -0
  351. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  352. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.js +247 -0
  353. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +50 -0
  354. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +100 -0
  355. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +20 -0
  356. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +36 -10
  357. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -0
  358. package/lib/components/ticketBooking/components/addServiceVariant/index.js +3 -2
  359. package/lib/components/ticketBooking/components/menuBar/index.d.ts +5 -1
  360. package/lib/components/ticketBooking/components/menuBar/index.js +24 -18
  361. package/lib/components/ticketBooking/components/menuBar/index.less +27 -1
  362. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  363. package/lib/components/ticketBooking/components/ticketBooking/index.js +14 -9
  364. package/lib/components/ticketBooking/components/timeBar/index.less +1 -0
  365. package/lib/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
  366. package/lib/components/ticketBooking/context/IsActiveContext.js +56 -0
  367. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  368. package/lib/components/ticketBooking/context/OsKeyContext.js +56 -0
  369. package/lib/components/ticketBooking/context/index.d.ts +2 -0
  370. package/lib/components/ticketBooking/context/index.js +44 -0
  371. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +5 -0
  372. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +5 -1
  373. package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +1 -0
  374. package/lib/components/ticketBooking/hooks/pisellos/index.js +3 -1
  375. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
  376. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.js +47 -0
  377. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +17 -10
  378. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +4 -2
  379. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +6 -2
  380. package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
  381. package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +37 -0
  382. package/lib/components/ticketBooking/index.d.ts +6 -0
  383. package/lib/components/ticketBooking/index.js +69 -7
  384. package/lib/components/ticketBooking/utils/index.d.ts +28 -1
  385. package/lib/components/ticketBooking/utils/index.js +45 -2
  386. package/lib/components/wallet/Detail/model.d.ts +13 -1
  387. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  388. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  389. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  390. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  391. package/lib/components/wallet/model.d.ts +9 -1
  392. package/lib/index.d.ts +2 -0
  393. package/lib/index.js +6 -0
  394. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +3 -0
  395. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +42 -0
  396. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +8 -0
  397. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +3 -0
  398. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +42 -0
  399. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +17 -0
  400. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +3 -0
  401. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +42 -0
  402. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +17 -0
  403. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +3 -0
  404. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +42 -0
  405. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +17 -0
  406. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +3 -0
  407. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +42 -0
  408. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +2 -0
  409. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +7 -0
  410. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +129 -0
  411. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +8 -0
  412. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
  413. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +52 -0
  414. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +3 -0
  415. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +7 -0
  416. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +178 -0
  417. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +44 -0
  418. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
  419. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +52 -0
  420. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +14 -0
  421. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +3 -0
  422. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +63 -0
  423. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +30 -0
  424. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
  425. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +131 -0
  426. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +46 -0
  427. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
  428. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +62 -0
  429. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +9 -0
  430. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +6 -0
  431. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +78 -0
  432. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +31 -0
  433. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
  434. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +51 -0
  435. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +3 -0
  436. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +6 -0
  437. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +94 -0
  438. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +11 -0
  439. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +7 -0
  440. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +115 -0
  441. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +24 -0
  442. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +6 -0
  443. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +139 -0
  444. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +57 -0
  445. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +6 -0
  446. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +97 -0
  447. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +18 -0
  448. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
  449. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +51 -0
  450. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +3 -0
  451. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
  452. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +58 -0
  453. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +3 -0
  454. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
  455. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +56 -0
  456. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +13 -0
  457. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +6 -0
  458. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +97 -0
  459. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +18 -0
  460. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
  461. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +51 -0
  462. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +3 -0
  463. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +6 -0
  464. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +56 -0
  465. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +13 -0
  466. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
  467. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +58 -0
  468. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +22 -0
  469. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
  470. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +49 -0
  471. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +20 -0
  472. package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +6 -0
  473. package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +83 -0
  474. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +8 -0
  475. package/lib/plus/productSelect/ProductCard/SkuCard/index.js +68 -0
  476. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
  477. package/lib/plus/productSelect/ProductCard/SkuCard/locales.js +65 -0
  478. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
  479. package/lib/plus/productSelect/ProductCard/SkuCard/status.js +501 -0
  480. package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
  481. package/lib/plus/productSelect/ProductCard/SkuCard/type.js +17 -0
  482. package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
  483. package/lib/plus/productSelect/ProductCard/SkuCard/utils.js +37 -0
  484. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +2 -0
  485. package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -5
  486. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +61 -27
  487. package/lib/pro/priceKeyboard/components/cashKeyboard/index.less +1 -2
  488. package/lib/utils/index.d.ts +1 -1
  489. package/lowcode/sku-card/meta.ts +1812 -0
  490. package/lowcode/sku-card/snippets.ts +372 -0
  491. package/lowcode/sku-list/meta.ts +410 -0
  492. package/package.json +1 -1
@@ -0,0 +1,415 @@
1
+ /* 内容区域样式 */
2
+
3
+ .list-content {
4
+ flex: 1;
5
+ min-height: 0;
6
+ position: relative; /* 为悬浮按钮提供定位参考 */
7
+
8
+ /* 垂直排版时的特殊处理 */
9
+ &.list-content-vertical {
10
+ display: flex;
11
+ flex-direction: column;
12
+ overflow-y: auto; /* 垂直排版时开启滚动 */
13
+ overflow-x: hidden;
14
+
15
+ .list-items {
16
+ padding: 12px; /* 列表项目的内边距 */
17
+ flex: 1;
18
+ }
19
+ }
20
+
21
+ /* 水平排版时保持原有样式 */
22
+ &.list-content-horizontal {
23
+ padding: 16px;
24
+ }
25
+
26
+ &.list-content-scroll {
27
+ overflow-y: auto;
28
+ }
29
+
30
+ .list-items {
31
+ width: 100%;
32
+
33
+ .list-item {
34
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
35
+
36
+ &:hover {
37
+ transform: translateY(0);
38
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
39
+ }
40
+
41
+ .default-item {
42
+ padding: 12px;
43
+ background: #fafafa;
44
+ border-radius: 4px;
45
+ border: 1px solid #f0f0f0;
46
+ min-height: 60px;
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+ color: #666;
51
+ }
52
+
53
+ /* 卡片式布局 */
54
+ .card-item {
55
+ display: flex;
56
+ background: #fff;
57
+ border-radius: 12px;
58
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
59
+ overflow: hidden;
60
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
61
+ border: 1px solid rgba(0, 0, 0, 0.06);
62
+
63
+ &:hover {
64
+ transform: translateY(-2px) scale(1.01);
65
+ box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
66
+
67
+ .card-image {
68
+ &::before {
69
+ opacity: 0.8;
70
+ }
71
+ }
72
+
73
+ .card-content {
74
+ .card-title {
75
+ color: #0066cc;
76
+ }
77
+ }
78
+ }
79
+
80
+ &:active {
81
+ transform: translateY(0) scale(0.98);
82
+ transition-duration: 0.1s;
83
+ }
84
+
85
+ .card-image {
86
+ position: relative;
87
+ width: 140px;
88
+ height: 100px;
89
+ flex-shrink: 0;
90
+ display: flex;
91
+ align-items: center;
92
+ justify-content: center;
93
+ color: #fff;
94
+ font-weight: 600;
95
+ overflow: hidden;
96
+
97
+ &.gradient-pink {
98
+ background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
99
+ }
100
+
101
+ &.gradient-blue {
102
+ background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
103
+ }
104
+
105
+ &.gradient-green {
106
+ background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
107
+ }
108
+
109
+ &.gradient-orange {
110
+ background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
111
+ }
112
+
113
+ &.gradient-purple {
114
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
115
+ }
116
+
117
+ &.gradient-teal {
118
+ background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
119
+ }
120
+
121
+ .image-text {
122
+ font-size: 24px;
123
+ font-weight: 700;
124
+ text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
125
+ z-index: 2;
126
+
127
+ .subtitle {
128
+ font-size: 14px;
129
+ font-weight: 500;
130
+ opacity: 0.9;
131
+ display: block;
132
+ margin-top: 2px;
133
+ }
134
+ }
135
+
136
+ &::before {
137
+ content: '';
138
+ position: absolute;
139
+ top: 0;
140
+ left: 0;
141
+ right: 0;
142
+ bottom: 0;
143
+ background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="20" r="0.5" fill="white" opacity="0.1"/><circle cx="30" cy="90" r="1.5" fill="white" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
144
+ opacity: 0.6;
145
+ z-index: 1;
146
+ }
147
+ }
148
+
149
+ .card-content {
150
+ flex: 1;
151
+ padding: 16px 20px;
152
+ display: flex;
153
+ flex-direction: column;
154
+ justify-content: space-between;
155
+ min-height: 100px;
156
+
157
+ .card-header {
158
+ margin-bottom: 8px;
159
+
160
+ .card-title {
161
+ font-size: 16px;
162
+ font-weight: 600;
163
+ color: #1a1a1a;
164
+ margin: 0 0 4px 0;
165
+ line-height: 1.3;
166
+ }
167
+
168
+ .card-subtitle {
169
+ font-size: 14px;
170
+ color: #666;
171
+ margin: 0;
172
+ display: flex;
173
+ align-items: center;
174
+ gap: 4px;
175
+
176
+ .duration-icon {
177
+ width: 16px;
178
+ height: 16px;
179
+ opacity: 0.6;
180
+ }
181
+ }
182
+ }
183
+
184
+ .card-footer {
185
+ display: flex;
186
+ align-items: flex-end;
187
+ justify-content: space-between;
188
+ margin-top: auto;
189
+
190
+ .card-price {
191
+ .price-main {
192
+ font-size: 20px;
193
+ font-weight: 700;
194
+ color: #1a1a1a;
195
+ margin: 0;
196
+ }
197
+
198
+ .price-original {
199
+ font-size: 14px;
200
+ color: #999;
201
+ text-decoration: line-through;
202
+ margin-left: 8px;
203
+ }
204
+
205
+ .price-unit {
206
+ font-size: 12px;
207
+ color: #666;
208
+ margin-top: 2px;
209
+ }
210
+
211
+ .price-offer {
212
+ background: #ff4757;
213
+ color: #fff;
214
+ padding: 2px 6px;
215
+ border-radius: 4px;
216
+ font-size: 12px;
217
+ margin-top: 4px;
218
+ display: inline-block;
219
+ }
220
+ }
221
+
222
+ .card-badge {
223
+ background: #ffeaa7;
224
+ color: #d63031;
225
+ padding: 4px 8px;
226
+ border-radius: 6px;
227
+ font-size: 12px;
228
+ font-weight: 500;
229
+ display: flex;
230
+ align-items: center;
231
+ gap: 4px;
232
+
233
+ &.warning {
234
+ background: #ffb8b8;
235
+ color: #d63031;
236
+ }
237
+
238
+ .badge-icon {
239
+ width: 14px;
240
+ height: 14px;
241
+ }
242
+ }
243
+ }
244
+
245
+ .card-tags {
246
+ display: flex;
247
+ gap: 6px;
248
+ margin: 8px 0;
249
+ flex-wrap: wrap;
250
+
251
+ .tag {
252
+ background: #f1f3f4;
253
+ color: #5f6368;
254
+ padding: 2px 8px;
255
+ border-radius: 12px;
256
+ font-size: 12px;
257
+ font-weight: 500;
258
+ }
259
+ }
260
+ }
261
+ }
262
+ }
263
+ }
264
+
265
+ /* 栅格布局样式 */
266
+ &.list-content-grid {
267
+ .list-items {
268
+ display: grid;
269
+
270
+ .list-item {
271
+ width: 100%;
272
+ height: fit-content;
273
+ }
274
+ }
275
+
276
+ /* 水平滚动时的加载提示项已取消 */
277
+ }
278
+
279
+ /* 瀑布流布局样式已移至 WaterfallList 组件 */
280
+ &.list-content-waterfall {
281
+ /* 根据布局方向设置滚动方向 */
282
+ &.list-content-vertical {
283
+ /* 垂直布局:垂直滚动 */
284
+ overflow-y: auto;
285
+ overflow-x: hidden;
286
+ }
287
+
288
+ &.list-content-horizontal {
289
+ /* 水平布局:水平滚动 */
290
+ overflow-x: auto;
291
+ overflow-y: visible; /* 允许垂直方向显示多行 */
292
+ }
293
+
294
+ .list-items {
295
+ /* 覆盖grid等其他布局样式 */
296
+ display: block;
297
+ }
298
+ }
299
+
300
+ /* 垂直排版样式 - 影响所有显示样式 */
301
+ &.list-content-vertical {
302
+ /* 垂直排版时,允许垂直滚动 */
303
+ overflow-y: auto;
304
+ overflow-x: hidden;
305
+
306
+ &.list-content-grid {
307
+ .list-items {
308
+ grid-auto-flow: row;
309
+ }
310
+ }
311
+ }
312
+
313
+ /* 水平排版样式 - 影响所有显示样式 */
314
+ &.list-content-horizontal {
315
+ /* 水平排版时,允许水平滚动 */
316
+ overflow-x: auto;
317
+ overflow-y: hidden;
318
+
319
+ &.list-content-grid {
320
+ .list-items {
321
+ grid-auto-flow: column;
322
+ }
323
+ }
324
+ }
325
+
326
+ /* 滚动加载样式已移至 ScrollLoader 组件 */
327
+
328
+ /* 保留原有的list-loading样式,供非scroll模式使用 */
329
+ .list-loading {
330
+ text-align: center;
331
+ padding: 24px 16px;
332
+ color: #666;
333
+ font-size: 14px;
334
+ background: rgba(255, 255, 255, 0.8);
335
+ border-radius: 8px;
336
+ margin: 16px 0;
337
+
338
+ &::before {
339
+ content: '';
340
+ display: inline-block;
341
+ width: 20px;
342
+ height: 20px;
343
+ margin-right: 8px;
344
+ border: 2px solid #f3f3f3;
345
+ border-top: 2px solid #1890ff;
346
+ border-radius: 50%;
347
+ animation: spin 1s linear infinite;
348
+ }
349
+
350
+ .loading-info {
351
+ font-size: 12px;
352
+ color: #999;
353
+ margin-top: 8px;
354
+ opacity: 0.8;
355
+ }
356
+
357
+ &.no-more {
358
+ color: #999;
359
+ background: rgba(0, 0, 0, 0.02);
360
+ border: 1px dashed #ddd;
361
+
362
+ &::before {
363
+ display: none;
364
+ }
365
+
366
+ &::after {
367
+ content: '✓';
368
+ display: inline-block;
369
+ width: 20px;
370
+ height: 20px;
371
+ margin-right: 8px;
372
+ background: #52c41a;
373
+ color: #fff;
374
+ border-radius: 50%;
375
+ font-size: 12px;
376
+ line-height: 20px;
377
+ text-align: center;
378
+ }
379
+ }
380
+ }
381
+
382
+ /* spin 动画已移至 ScrollLoader 组件 */
383
+ }
384
+
385
+ /* 分组标题样式 */
386
+ .pisell-list-group-title {
387
+ margin: 24px 0 16px 0;
388
+ padding: 0;
389
+
390
+ &:first-child {
391
+ margin-top: 0; /* 第一个分组标题顶部不需要额外间距 */
392
+ }
393
+
394
+ .pisell-list-group-title-text {
395
+ font-size: 24px;
396
+ font-weight: 600;
397
+ line-height: 32px;
398
+ color: #101828;
399
+ margin: 0;
400
+ padding: 0;
401
+ /* 与设计保持一致 */
402
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
403
+ }
404
+ }
405
+
406
+ /* 分组项容器 */
407
+ .list-group-items {
408
+ /* 继承父级的grid样式,但在这里可以单独调整 */
409
+ width: 100%;
410
+
411
+ /* 每个分组之间的间距 */
412
+ &:not(:last-child) {
413
+ margin-bottom: 24px;
414
+ }
415
+ }
@@ -0,0 +1,107 @@
1
+ /* 悬浮滚动按钮样式 */
2
+
3
+ .list-scroll-float-button {
4
+ pointer-events: none; /* 让容器不拦截点击事件 */
5
+
6
+ /* 悬浮滚动按钮 */
7
+ .scroll-down-button {
8
+ pointer-events: auto; /* 恢复按钮的点击事件 */
9
+ user-select: none;
10
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
11
+ }
12
+
13
+ /* 悬浮暂停按钮 */
14
+ .scroll-pause-button {
15
+ pointer-events: auto; /* 恢复按钮的点击事件 */
16
+ user-select: none;
17
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
18
+ }
19
+
20
+ /* 添加淡入动画 */
21
+ animation: fadeInUp 0.3s ease-out;
22
+ }
23
+
24
+ /* 垂直滚动模式:按钮在底部居中 */
25
+ .pisell-list-vertical {
26
+ .list-scroll-float-button {
27
+ /* 不设置容器的定位,让按钮通过内联样式自由定位 */
28
+
29
+ .scroll-down-button {
30
+ /* 悬停效果 - 垂直模式 */
31
+ &:hover {
32
+ transform: translateX(-50%) translateY(-2px) scale(1.05);
33
+ box-shadow: 0px 8px 16px -4px rgba(16, 24, 40, 0.1);
34
+ background: rgba(255, 255, 255, 0.85);
35
+ }
36
+
37
+ /* 按下效果 - 垂直模式 */
38
+ &:active {
39
+ transform: translateX(-50%) translateY(1px) scale(0.98);
40
+ transition-duration: 0.1s;
41
+ }
42
+ }
43
+
44
+ .scroll-pause-button {
45
+ /* 悬停效果 - 垂直模式 */
46
+ &:hover {
47
+ transform: translateX(-50%) translateY(-2px) scale(1.05);
48
+ box-shadow: 0px 8px 16px -4px rgba(16, 24, 40, 0.1);
49
+ background: rgba(255, 255, 255, 0.85);
50
+ }
51
+
52
+ /* 按下效果 - 垂直模式 */
53
+ &:active {
54
+ transform: translateX(-50%) translateY(1px) scale(0.98);
55
+ transition-duration: 0.1s;
56
+ }
57
+ }
58
+ }
59
+ }
60
+
61
+ /* 水平滚动模式:按钮在右侧垂直居中 */
62
+ .pisell-list-horizontal {
63
+ .list-scroll-float-button {
64
+ /* 不设置容器的定位,让按钮通过内联样式自由定位 */
65
+
66
+ .scroll-down-button {
67
+ /* 悬停效果 - 水平模式 */
68
+ &:hover {
69
+ transform: translateY(-50%) translateX(-2px) scale(1.05);
70
+ box-shadow: 0px 8px 16px -4px rgba(16, 24, 40, 0.1);
71
+ background: rgba(255, 255, 255, 0.85);
72
+ }
73
+
74
+ /* 按下效果 - 水平模式 */
75
+ &:active {
76
+ transform: translateY(-50%) translateX(1px) scale(0.98);
77
+ transition-duration: 0.1s;
78
+ }
79
+ }
80
+
81
+ .scroll-pause-button {
82
+ /* 悬停效果 - 水平模式 */
83
+ &:hover {
84
+ transform: translateY(-50%) translateX(-2px) scale(1.05);
85
+ box-shadow: 0px 8px 16px -4px rgba(16, 24, 40, 0.1);
86
+ background: rgba(255, 255, 255, 0.85);
87
+ }
88
+
89
+ /* 按下效果 - 水平模式 */
90
+ &:active {
91
+ transform: translateY(-50%) translateX(1px) scale(0.98);
92
+ transition-duration: 0.1s;
93
+ }
94
+ }
95
+ }
96
+ }
97
+
98
+ @keyframes fadeInUp {
99
+ from {
100
+ opacity: 0;
101
+ transform: translateY(20px);
102
+ }
103
+ to {
104
+ opacity: 1;
105
+ transform: translateY(0);
106
+ }
107
+ }
@@ -0,0 +1,49 @@
1
+ /* 底部工具栏样式 */
2
+
3
+ .list-footer {
4
+ background: rgba(255, 255, 255, 0.8);
5
+ backdrop-filter: blur(8px);
6
+ border-top: 1px solid rgba(0, 0, 0, 0.06);
7
+ padding: 12px 16px;
8
+ display: flex;
9
+ justify-content: stretch; /* 让分页组件使用自己的布局 */
10
+ align-items: center;
11
+ border-radius: 0 0 8px 8px;
12
+
13
+ /* 为分页组件提供完整宽度 */
14
+ .pisell-pagination {
15
+ width: 100%;
16
+ }
17
+
18
+ .ant-btn {
19
+ min-width: 120px;
20
+ border-radius: 8px;
21
+ height: 40px;
22
+ font-weight: 500;
23
+ transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
24
+
25
+ &:hover {
26
+ transform: translateY(-1px);
27
+ box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
28
+ }
29
+
30
+ /* 查看更少按钮样式 */
31
+ &.view-less-btn {
32
+ background-color: #f0f2f5;
33
+ border-color: #d9d9d9;
34
+ color: #666;
35
+
36
+ &:hover {
37
+ background-color: #e6f7ff;
38
+ border-color: #91d5ff;
39
+ color: #1890ff;
40
+ box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
41
+ }
42
+
43
+ &:active {
44
+ background-color: #bae7ff;
45
+ border-color: #40a9ff;
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,69 @@
1
+ /* 头部Tab栏样式 */
2
+
3
+ .pisell-list-header {
4
+ padding: 16px;
5
+
6
+ &.pisell-list-header-sticky {
7
+ position: sticky;
8
+ top: 0;
9
+ z-index: 10;
10
+ /* 毛玻璃效果 */
11
+ background: rgba(255, 255, 255, 0.80);
12
+ backdrop-filter: blur(12px);
13
+ border-bottom: 1px solid #D0D5DD;
14
+ padding-bottom: 12px;
15
+ box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
16
+ /* 平滑过渡效果 */
17
+ transition: box-shadow 0.2s ease, backdrop-filter 0.2s ease, background 0.2s ease;
18
+
19
+ /* 当sticky生效时的增强视觉效果 */
20
+ &::after {
21
+ content: '';
22
+ position: absolute;
23
+ bottom: -1px;
24
+ left: 0;
25
+ right: 0;
26
+ height: 1px;
27
+ background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
28
+ opacity: 0;
29
+ transition: opacity 0.2s ease;
30
+ }
31
+
32
+ /* 滚动时激活视觉效果 */
33
+ &.sticky-active::after {
34
+ opacity: 1;
35
+ }
36
+ }
37
+
38
+ .pisell-list-tabs {
39
+ &.pisell-list-tabs-anchor,
40
+ &.pisell-list-tabs-switch {
41
+ /* 自定义Tab样式已经在Tab组件中定义,这里保持干净 */
42
+ position: relative;
43
+ }
44
+ }
45
+
46
+ }
47
+
48
+ /* 垂直排版时header在内部的样式 */
49
+ .list-content-vertical {
50
+ .pisell-list-header {
51
+ flex-shrink: 0; /* 防止被压缩 */
52
+ margin-bottom: 0; /* 去除默认间距 */
53
+
54
+ /* sticky 效果:相对于 list-content 滚动容器 */
55
+ &.pisell-list-header-sticky {
56
+ position: sticky;
57
+ top: 0;
58
+ z-index: 10;
59
+ /* 毛玻璃效果 */
60
+ background: rgba(255, 255, 255, 0.80);
61
+ backdrop-filter: blur(12px);
62
+ border-bottom: 1px solid #D0D5DD;
63
+ padding-bottom: 12px;
64
+ box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
65
+ transition: box-shadow 0.2s ease, backdrop-filter 0.2s ease, background 0.2s ease;
66
+ }
67
+
68
+ }
69
+ }