@pisell/private-materials 6.5.13 → 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 +7 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +7 -7
  11. package/es/components/booking/addons/model.d.ts +10 -1
  12. package/es/components/booking/components/actionButtons/index.js +15 -9
  13. package/es/components/booking/components/footer/index.js +2 -2
  14. package/es/components/booking/components/voucher/index.js +23 -19
  15. package/es/components/booking/forms/footer.js +4 -13
  16. package/es/components/booking/forms/model.d.ts +10 -1
  17. package/es/components/booking/info/model.d.ts +10 -1
  18. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  19. package/es/components/booking/info/service2/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/amount.d.ts +1 -1
  31. package/es/components/eftposPay/device.d.ts +1 -1
  32. package/es/components/eftposPay/hooks.d.ts +2 -2
  33. package/es/components/eftposPay/store/index.d.ts +5 -5
  34. package/es/components/list/List.d.ts +5 -0
  35. package/es/components/list/List.js +957 -0
  36. package/es/components/list/List.less +2 -0
  37. package/es/components/list/ResponsiveWrapper.d.ts +16 -0
  38. package/es/components/list/ResponsiveWrapper.js +130 -0
  39. package/es/components/list/TestResponsiveWrapper.d.ts +8 -0
  40. package/es/components/list/TestResponsiveWrapper.js +816 -0
  41. package/es/components/list/TestResponsiveWrapper.less +968 -0
  42. package/es/components/list/components/EmptyState/EmptyState.d.ts +20 -0
  43. package/es/components/list/components/EmptyState/EmptyState.js +75 -0
  44. package/es/components/list/components/EmptyState/EmptyState.less +121 -0
  45. package/es/components/list/components/EmptyState/index.d.ts +2 -0
  46. package/es/components/list/components/EmptyState/index.js +1 -0
  47. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
  48. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.js +39 -0
  49. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.less +29 -0
  50. package/es/components/list/components/ListItemSkeleton/index.d.ts +2 -0
  51. package/es/components/list/components/ListItemSkeleton/index.js +2 -0
  52. package/es/components/list/components/Pagination/Pagination.d.ts +30 -0
  53. package/es/components/list/components/Pagination/Pagination.js +240 -0
  54. package/es/components/list/components/Pagination/Pagination.less +439 -0
  55. package/es/components/list/components/Pagination/index.d.ts +1 -0
  56. package/es/components/list/components/Pagination/index.js +1 -0
  57. package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
  58. package/es/components/list/components/ScrollLoader/ScrollLoader.js +18 -0
  59. package/es/components/list/components/ScrollLoader/ScrollLoader.less +3 -0
  60. package/es/components/list/components/ScrollLoader/index.d.ts +2 -0
  61. package/es/components/list/components/ScrollLoader/index.js +1 -0
  62. package/es/components/list/components/Tab/Tab.d.ts +5 -0
  63. package/es/components/list/components/Tab/Tab.js +43 -0
  64. package/es/components/list/components/Tab/Tab.less +139 -0
  65. package/es/components/list/components/Tab/index.d.ts +2 -0
  66. package/es/components/list/components/Tab/index.js +1 -0
  67. package/es/components/list/components/Tab/types.d.ts +14 -0
  68. package/es/components/list/components/Tab/types.js +1 -0
  69. package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
  70. package/es/components/list/components/TabSkeleton/TabSkeleton.js +28 -0
  71. package/es/components/list/components/TabSkeleton/TabSkeleton.less +38 -0
  72. package/es/components/list/components/TabSkeleton/index.d.ts +2 -0
  73. package/es/components/list/components/TabSkeleton/index.js +2 -0
  74. package/es/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
  75. package/es/components/list/components/WaterfallList/WaterfallList.js +191 -0
  76. package/es/components/list/components/WaterfallList/WaterfallList.less +201 -0
  77. package/es/components/list/components/WaterfallList/index.d.ts +2 -0
  78. package/es/components/list/components/WaterfallList/index.js +1 -0
  79. package/es/components/list/examples/GroupedListExample.d.ts +3 -0
  80. package/es/components/list/examples/GroupedListExample.js +207 -0
  81. package/es/components/list/hooks/index.d.ts +5 -0
  82. package/es/components/list/hooks/index.js +3 -0
  83. package/es/components/list/hooks/useDevice.d.ts +24 -0
  84. package/es/components/list/hooks/useDevice.js +102 -0
  85. package/es/components/list/hooks/useListState.d.ts +43 -0
  86. package/es/components/list/hooks/useListState.js +176 -0
  87. package/es/components/list/hooks/useWaterfall.d.ts +34 -0
  88. package/es/components/list/hooks/useWaterfall.js +161 -0
  89. package/es/components/list/index.d.ts +10 -0
  90. package/es/components/list/index.js +7 -0
  91. package/es/components/list/locales.d.ts +66 -0
  92. package/es/components/list/locales.js +107 -0
  93. package/es/components/list/styles/base.less +39 -0
  94. package/es/components/list/styles/content.less +415 -0
  95. package/es/components/list/styles/floatButton.less +107 -0
  96. package/es/components/list/styles/footer.less +49 -0
  97. package/es/components/list/styles/header.less +69 -0
  98. package/es/components/list/styles/responsive.less +166 -0
  99. package/es/components/list/types.d.ts +177 -0
  100. package/es/components/list/types.js +1 -0
  101. package/es/components/list/utils/getText.d.ts +53 -0
  102. package/es/components/list/utils/getText.js +150 -0
  103. package/es/components/list/utils/index.d.ts +4 -0
  104. package/es/components/list/utils/index.js +5 -0
  105. package/es/components/pay/toB/store/hooks.js +19 -5
  106. package/es/components/pay/toC/model.d.ts +9 -1
  107. package/es/components/schedules/model.d.ts +9 -1
  108. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
  109. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +143 -0
  110. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
  111. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.js +7 -0
  112. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.less +41 -0
  113. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  114. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.js +273 -0
  115. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +50 -0
  116. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +130 -0
  117. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +20 -0
  118. package/es/components/ticketBooking/components/addServiceVariant/addService.js +32 -10
  119. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -0
  120. package/es/components/ticketBooking/components/addServiceVariant/index.js +4 -2
  121. package/es/components/ticketBooking/components/menuBar/index.d.ts +5 -1
  122. package/es/components/ticketBooking/components/menuBar/index.js +40 -17
  123. package/es/components/ticketBooking/components/menuBar/index.less +27 -1
  124. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  125. package/es/components/ticketBooking/components/ticketBooking/index.js +20 -10
  126. package/es/components/ticketBooking/components/timeBar/index.less +1 -0
  127. package/es/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
  128. package/es/components/ticketBooking/context/IsActiveContext.js +37 -0
  129. package/es/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  130. package/es/components/ticketBooking/context/OsKeyContext.js +37 -0
  131. package/es/components/ticketBooking/context/index.d.ts +2 -0
  132. package/es/components/ticketBooking/context/index.js +2 -0
  133. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +5 -0
  134. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +13 -1
  135. package/es/components/ticketBooking/hooks/pisellos/index.d.ts +1 -0
  136. package/es/components/ticketBooking/hooks/pisellos/index.js +2 -1
  137. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
  138. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.js +50 -0
  139. package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +12 -4
  140. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +5 -2
  141. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +7 -2
  142. package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
  143. package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +17 -0
  144. package/es/components/ticketBooking/index.d.ts +6 -0
  145. package/es/components/ticketBooking/index.js +86 -12
  146. package/es/components/ticketBooking/utils/index.d.ts +28 -1
  147. package/es/components/ticketBooking/utils/index.js +40 -0
  148. package/es/components/wallet/Detail/model.d.ts +13 -1
  149. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  150. package/es/components/wallet/PointCard/model.d.ts +13 -1
  151. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  152. package/es/components/wallet/Voucher/model.d.ts +13 -1
  153. package/es/components/wallet/model.d.ts +9 -1
  154. package/es/index.d.ts +2 -0
  155. package/es/index.js +3 -1
  156. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +3 -0
  157. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +11 -0
  158. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +8 -0
  159. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +3 -0
  160. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +11 -0
  161. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +17 -0
  162. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +3 -0
  163. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +11 -0
  164. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +17 -0
  165. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +3 -0
  166. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +11 -0
  167. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +17 -0
  168. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +3 -0
  169. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +11 -0
  170. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +2 -0
  171. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +7 -0
  172. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +100 -0
  173. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +8 -0
  174. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
  175. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +32 -0
  176. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +3 -0
  177. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +7 -0
  178. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +239 -0
  179. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +44 -0
  180. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
  181. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +34 -0
  182. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +14 -0
  183. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +3 -0
  184. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +33 -0
  185. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +30 -0
  186. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
  187. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +75 -0
  188. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +46 -0
  189. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
  190. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +39 -0
  191. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +9 -0
  192. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +6 -0
  193. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +53 -0
  194. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +31 -0
  195. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
  196. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +31 -0
  197. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +3 -0
  198. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +6 -0
  199. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +58 -0
  200. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +11 -0
  201. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +7 -0
  202. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +85 -0
  203. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +24 -0
  204. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +6 -0
  205. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +121 -0
  206. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +57 -0
  207. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +6 -0
  208. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +95 -0
  209. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +18 -0
  210. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
  211. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +31 -0
  212. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +3 -0
  213. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
  214. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +47 -0
  215. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +3 -0
  216. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
  217. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +34 -0
  218. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +13 -0
  219. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +6 -0
  220. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +95 -0
  221. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +18 -0
  222. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
  223. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +31 -0
  224. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +3 -0
  225. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +6 -0
  226. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +34 -0
  227. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +13 -0
  228. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
  229. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +39 -0
  230. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +22 -0
  231. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
  232. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +20 -0
  233. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +20 -0
  234. package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +6 -0
  235. package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +55 -0
  236. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +8 -0
  237. package/es/plus/productSelect/ProductCard/SkuCard/index.js +38 -0
  238. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
  239. package/es/plus/productSelect/ProductCard/SkuCard/locales.js +41 -0
  240. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
  241. package/es/plus/productSelect/ProductCard/SkuCard/status.js +481 -0
  242. package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
  243. package/es/plus/productSelect/ProductCard/SkuCard/type.js +1 -0
  244. package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
  245. package/es/plus/productSelect/ProductCard/SkuCard/utils.js +21 -0
  246. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +2 -0
  247. package/es/plus/productSelect/components/pisellPriceText/index.js +7 -5
  248. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +20 -10
  249. package/es/pro/priceKeyboard/components/cashKeyboard/index.less +1 -2
  250. package/lib/components/booking/addons/model.d.ts +10 -1
  251. package/lib/components/booking/components/actionButtons/index.js +22 -17
  252. package/lib/components/booking/components/footer/index.js +2 -2
  253. package/lib/components/booking/components/voucher/index.js +33 -40
  254. package/lib/components/booking/forms/footer.js +7 -13
  255. package/lib/components/booking/forms/model.d.ts +10 -1
  256. package/lib/components/booking/info/model.d.ts +10 -1
  257. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  258. package/lib/components/booking/info/service2/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/amount.d.ts +1 -1
  270. package/lib/components/eftposPay/device.d.ts +1 -1
  271. package/lib/components/eftposPay/hooks.d.ts +2 -2
  272. package/lib/components/eftposPay/store/index.d.ts +5 -5
  273. package/lib/components/list/List.d.ts +5 -0
  274. package/lib/components/list/List.js +771 -0
  275. package/lib/components/list/List.less +2 -0
  276. package/lib/components/list/ResponsiveWrapper.d.ts +16 -0
  277. package/lib/components/list/ResponsiveWrapper.js +145 -0
  278. package/lib/components/list/TestResponsiveWrapper.d.ts +8 -0
  279. package/lib/components/list/TestResponsiveWrapper.js +493 -0
  280. package/lib/components/list/TestResponsiveWrapper.less +968 -0
  281. package/lib/components/list/components/EmptyState/EmptyState.d.ts +20 -0
  282. package/lib/components/list/components/EmptyState/EmptyState.js +75 -0
  283. package/lib/components/list/components/EmptyState/EmptyState.less +121 -0
  284. package/lib/components/list/components/EmptyState/index.d.ts +2 -0
  285. package/lib/components/list/components/EmptyState/index.js +35 -0
  286. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
  287. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.js +75 -0
  288. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.less +29 -0
  289. package/lib/components/list/components/ListItemSkeleton/index.d.ts +2 -0
  290. package/lib/components/list/components/ListItemSkeleton/index.js +41 -0
  291. package/lib/components/list/components/Pagination/Pagination.d.ts +30 -0
  292. package/lib/components/list/components/Pagination/Pagination.js +205 -0
  293. package/lib/components/list/components/Pagination/Pagination.less +439 -0
  294. package/lib/components/list/components/Pagination/index.d.ts +1 -0
  295. package/lib/components/list/components/Pagination/index.js +35 -0
  296. package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
  297. package/lib/components/list/components/ScrollLoader/ScrollLoader.js +37 -0
  298. package/lib/components/list/components/ScrollLoader/ScrollLoader.less +3 -0
  299. package/lib/components/list/components/ScrollLoader/index.d.ts +2 -0
  300. package/lib/components/list/components/ScrollLoader/index.js +35 -0
  301. package/lib/components/list/components/Tab/Tab.d.ts +5 -0
  302. package/lib/components/list/components/Tab/Tab.js +72 -0
  303. package/lib/components/list/components/Tab/Tab.less +139 -0
  304. package/lib/components/list/components/Tab/index.d.ts +2 -0
  305. package/lib/components/list/components/Tab/index.js +35 -0
  306. package/lib/components/list/components/Tab/types.d.ts +14 -0
  307. package/lib/components/list/components/Tab/types.js +17 -0
  308. package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
  309. package/lib/components/list/components/TabSkeleton/TabSkeleton.js +61 -0
  310. package/lib/components/list/components/TabSkeleton/TabSkeleton.less +38 -0
  311. package/lib/components/list/components/TabSkeleton/index.d.ts +2 -0
  312. package/lib/components/list/components/TabSkeleton/index.js +41 -0
  313. package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
  314. package/lib/components/list/components/WaterfallList/WaterfallList.js +178 -0
  315. package/lib/components/list/components/WaterfallList/WaterfallList.less +201 -0
  316. package/lib/components/list/components/WaterfallList/index.d.ts +2 -0
  317. package/lib/components/list/components/WaterfallList/index.js +35 -0
  318. package/lib/components/list/examples/GroupedListExample.d.ts +3 -0
  319. package/lib/components/list/examples/GroupedListExample.js +210 -0
  320. package/lib/components/list/hooks/index.d.ts +5 -0
  321. package/lib/components/list/hooks/index.js +47 -0
  322. package/lib/components/list/hooks/useDevice.d.ts +24 -0
  323. package/lib/components/list/hooks/useDevice.js +96 -0
  324. package/lib/components/list/hooks/useListState.d.ts +43 -0
  325. package/lib/components/list/hooks/useListState.js +149 -0
  326. package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
  327. package/lib/components/list/hooks/useWaterfall.js +124 -0
  328. package/lib/components/list/index.d.ts +10 -0
  329. package/lib/components/list/index.js +60 -0
  330. package/lib/components/list/locales.d.ts +66 -0
  331. package/lib/components/list/locales.js +113 -0
  332. package/lib/components/list/styles/base.less +39 -0
  333. package/lib/components/list/styles/content.less +415 -0
  334. package/lib/components/list/styles/floatButton.less +107 -0
  335. package/lib/components/list/styles/footer.less +49 -0
  336. package/lib/components/list/styles/header.less +69 -0
  337. package/lib/components/list/styles/responsive.less +166 -0
  338. package/lib/components/list/types.d.ts +177 -0
  339. package/lib/components/list/types.js +17 -0
  340. package/lib/components/list/utils/getText.d.ts +53 -0
  341. package/lib/components/list/utils/getText.js +95 -0
  342. package/lib/components/list/utils/index.d.ts +4 -0
  343. package/lib/components/list/utils/index.js +43 -0
  344. package/lib/components/pay/toB/store/hooks.js +16 -8
  345. package/lib/components/pay/toC/model.d.ts +9 -1
  346. package/lib/components/schedules/model.d.ts +9 -1
  347. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
  348. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +165 -0
  349. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
  350. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.js +45 -0
  351. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.less +41 -0
  352. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  353. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.js +247 -0
  354. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +50 -0
  355. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +100 -0
  356. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +20 -0
  357. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +36 -10
  358. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -0
  359. package/lib/components/ticketBooking/components/addServiceVariant/index.js +3 -2
  360. package/lib/components/ticketBooking/components/menuBar/index.d.ts +5 -1
  361. package/lib/components/ticketBooking/components/menuBar/index.js +24 -18
  362. package/lib/components/ticketBooking/components/menuBar/index.less +27 -1
  363. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
  364. package/lib/components/ticketBooking/components/ticketBooking/index.js +14 -9
  365. package/lib/components/ticketBooking/components/timeBar/index.less +1 -0
  366. package/lib/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
  367. package/lib/components/ticketBooking/context/IsActiveContext.js +56 -0
  368. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  369. package/lib/components/ticketBooking/context/OsKeyContext.js +56 -0
  370. package/lib/components/ticketBooking/context/index.d.ts +2 -0
  371. package/lib/components/ticketBooking/context/index.js +44 -0
  372. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +5 -0
  373. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +5 -1
  374. package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +1 -0
  375. package/lib/components/ticketBooking/hooks/pisellos/index.js +3 -1
  376. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
  377. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.js +47 -0
  378. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +17 -10
  379. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +4 -2
  380. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +6 -2
  381. package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
  382. package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +37 -0
  383. package/lib/components/ticketBooking/index.d.ts +6 -0
  384. package/lib/components/ticketBooking/index.js +69 -7
  385. package/lib/components/ticketBooking/utils/index.d.ts +28 -1
  386. package/lib/components/ticketBooking/utils/index.js +45 -2
  387. package/lib/components/wallet/Detail/model.d.ts +13 -1
  388. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  389. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  390. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  391. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  392. package/lib/components/wallet/model.d.ts +9 -1
  393. package/lib/index.d.ts +2 -0
  394. package/lib/index.js +6 -0
  395. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +3 -0
  396. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +42 -0
  397. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +8 -0
  398. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +3 -0
  399. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +42 -0
  400. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +17 -0
  401. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +3 -0
  402. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +42 -0
  403. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +17 -0
  404. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +3 -0
  405. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +42 -0
  406. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +17 -0
  407. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +3 -0
  408. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +42 -0
  409. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +2 -0
  410. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +7 -0
  411. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +129 -0
  412. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +8 -0
  413. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
  414. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +52 -0
  415. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +3 -0
  416. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +7 -0
  417. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +178 -0
  418. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +44 -0
  419. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
  420. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +52 -0
  421. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +14 -0
  422. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +3 -0
  423. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +63 -0
  424. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +30 -0
  425. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
  426. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +131 -0
  427. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +46 -0
  428. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
  429. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +62 -0
  430. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +9 -0
  431. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +6 -0
  432. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +78 -0
  433. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +31 -0
  434. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
  435. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +51 -0
  436. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +3 -0
  437. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +6 -0
  438. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +94 -0
  439. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +11 -0
  440. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +7 -0
  441. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +115 -0
  442. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +24 -0
  443. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +6 -0
  444. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +139 -0
  445. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +57 -0
  446. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +6 -0
  447. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +97 -0
  448. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +18 -0
  449. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
  450. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +51 -0
  451. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +3 -0
  452. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
  453. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +58 -0
  454. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +3 -0
  455. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
  456. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +56 -0
  457. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +13 -0
  458. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +6 -0
  459. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +97 -0
  460. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +18 -0
  461. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
  462. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +51 -0
  463. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +3 -0
  464. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +6 -0
  465. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +56 -0
  466. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +13 -0
  467. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
  468. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +58 -0
  469. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +22 -0
  470. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
  471. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +49 -0
  472. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +20 -0
  473. package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +6 -0
  474. package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +83 -0
  475. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +8 -0
  476. package/lib/plus/productSelect/ProductCard/SkuCard/index.js +68 -0
  477. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
  478. package/lib/plus/productSelect/ProductCard/SkuCard/locales.js +65 -0
  479. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
  480. package/lib/plus/productSelect/ProductCard/SkuCard/status.js +501 -0
  481. package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
  482. package/lib/plus/productSelect/ProductCard/SkuCard/type.js +17 -0
  483. package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
  484. package/lib/plus/productSelect/ProductCard/SkuCard/utils.js +37 -0
  485. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +2 -0
  486. package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -5
  487. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +61 -27
  488. package/lib/pro/priceKeyboard/components/cashKeyboard/index.less +1 -2
  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,439 @@
1
+ /* 全新分页器样式 - 严格按照UI图片设计 */
2
+ .pisell-pagination {
3
+ /* 主容器flex布局 */
4
+ display: flex;
5
+ justify-content: space-between;
6
+ align-items: center;
7
+ width: 100%;
8
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
9
+
10
+ &.disabled {
11
+ opacity: 0.6;
12
+ pointer-events: none;
13
+ }
14
+
15
+ /* 左侧页码信息组件 */
16
+ .pagination-info {
17
+ /* Detail 组件样式 */
18
+ color: #344054;
19
+ font-size: 14px;
20
+ font-weight: 500;
21
+ line-height: 20px;
22
+ word-wrap: break-word;
23
+ flex-shrink: 0; /* 防止压缩 */
24
+ }
25
+
26
+ /* 右侧操作栏 */
27
+ .pagination-controls {
28
+ display: flex;
29
+ justify-content: flex-start;
30
+ align-items: center;
31
+ gap: 24px;
32
+ flex-shrink: 0; /* 防止压缩 */
33
+ }
34
+
35
+ /* 分页控件组 */
36
+ .pagination-group {
37
+ box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
38
+ overflow: hidden;
39
+ border-radius: 8px;
40
+ outline: 1px #D0D5DD solid;
41
+ outline-offset: -1px;
42
+ justify-content: flex-start;
43
+ align-items: center; /* 修复垂直对齐 */
44
+ display: flex;
45
+ height: 40px; /* 确保容器高度一致 */
46
+ }
47
+
48
+ /* Previous 按钮 */
49
+ .pagination-prev {
50
+ padding-left: 16px;
51
+ padding-right: 16px;
52
+ padding-top: 10px;
53
+ padding-bottom: 10px;
54
+ background: white;
55
+ border: none;
56
+ border-right: 1px #D0D5DD solid;
57
+ outline: none;
58
+ justify-content: center;
59
+ align-items: center;
60
+ gap: 8px;
61
+ display: flex;
62
+ cursor: pointer;
63
+ transition: all 0.2s ease;
64
+ font-family: inherit;
65
+ height: 40px; /* 明确设置高度 */
66
+ box-sizing: border-box;
67
+ vertical-align: top; /* 确保垂直对齐 */
68
+
69
+ span {
70
+ color: #344054;
71
+ font-size: 14px;
72
+ font-weight: 600;
73
+ line-height: 20px;
74
+ word-wrap: break-word;
75
+ }
76
+
77
+ &.disabled {
78
+ cursor: not-allowed;
79
+
80
+ span {
81
+ color: #98A2B3;
82
+ }
83
+ }
84
+
85
+ &:hover:not(.disabled) {
86
+ background-color: #F9FAFB;
87
+ }
88
+ }
89
+
90
+ /* 页码按钮 */
91
+ .pagination-page {
92
+ width: 40px;
93
+ height: 40px; /* 明确设置高度 */
94
+ padding: 10px;
95
+ background: white;
96
+ border: none;
97
+ border-right: 1px #D0D5DD solid;
98
+ outline: none;
99
+ flex-direction: column;
100
+ justify-content: center;
101
+ align-items: center;
102
+ display: inline-flex;
103
+ cursor: pointer;
104
+ transition: all 0.2s ease;
105
+ font-family: inherit;
106
+ box-sizing: border-box;
107
+ vertical-align: top; /* 确保垂直对齐 */
108
+
109
+ color: #344054;
110
+ font-size: 14px;
111
+ font-weight: 600;
112
+ line-height: 20px;
113
+ word-wrap: break-word;
114
+
115
+ &:hover:not(.active):not(:disabled) {
116
+ background-color: #F9FAFB;
117
+ }
118
+
119
+ &.active {
120
+ background: #F9FAFB;
121
+
122
+ color: #1D2939;
123
+ font-size: 14px;
124
+ font-weight: 600;
125
+ line-height: 20px;
126
+ word-wrap: break-word;
127
+ }
128
+
129
+ &:disabled {
130
+ cursor: not-allowed;
131
+ opacity: 0.5;
132
+ }
133
+ }
134
+
135
+ /* 省略号 */
136
+ .pagination-ellipsis {
137
+ width: 40px;
138
+ height: 40px; /* 明确设置高度 */
139
+ padding: 10px;
140
+ background: white;
141
+ border: none;
142
+ border-right: 1px #D0D5DD solid;
143
+ flex-direction: column;
144
+ justify-content: center;
145
+ align-items: center;
146
+ display: inline-flex;
147
+ box-sizing: border-box;
148
+ vertical-align: top; /* 确保垂直对齐 */
149
+
150
+ span {
151
+ color: #344054;
152
+ font-size: 14px;
153
+ font-weight: 600;
154
+ line-height: 20px;
155
+ word-wrap: break-word;
156
+ }
157
+ }
158
+
159
+ /* Next 按钮 */
160
+ .pagination-next {
161
+ padding-left: 16px;
162
+ padding-right: 16px;
163
+ padding-top: 10px;
164
+ padding-bottom: 10px;
165
+ background: white;
166
+ border: none;
167
+ outline: none;
168
+ justify-content: center;
169
+ align-items: center;
170
+ gap: 8px;
171
+ display: flex;
172
+ cursor: pointer;
173
+ transition: all 0.2s ease;
174
+ font-family: inherit;
175
+ height: 40px; /* 明确设置高度 */
176
+ box-sizing: border-box;
177
+ vertical-align: top; /* 确保垂直对齐 */
178
+
179
+ span {
180
+ color: #344054;
181
+ font-size: 14px;
182
+ font-weight: 600;
183
+ line-height: 20px;
184
+ word-wrap: break-word;
185
+ }
186
+
187
+ &.disabled {
188
+ cursor: not-allowed;
189
+
190
+ span {
191
+ color: #98A2B3;
192
+ }
193
+ }
194
+
195
+ &:hover:not(.disabled) {
196
+ background-color: #F9FAFB;
197
+ }
198
+ }
199
+
200
+ /* 每页条数选择器 */
201
+ .pagination-size-selector {
202
+ width: 88px;
203
+ height: 40px; /* 确保容器高度一致 */
204
+ display: flex;
205
+ align-items: center; /* 垂直居中对齐 */
206
+
207
+ .ant-select {
208
+ width: 100%;
209
+ height: 40px; /* 确保select高度一致 */
210
+
211
+ .ant-select-selector {
212
+ padding-left: 16px;
213
+ padding-right: 16px;
214
+ padding-top: 0; /* 移除上下padding,使用flex居中 */
215
+ padding-bottom: 0;
216
+ background: white;
217
+ box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
218
+ overflow: hidden;
219
+ border-radius: 8px;
220
+ outline: 1px #D0D5DD solid;
221
+ outline-offset: -1px;
222
+ border: none;
223
+ height: 40px; /* 明确设置高度与分页按钮一致 */
224
+ min-height: 40px;
225
+ max-height: 40px; /* 防止高度超出 */
226
+ justify-content: space-between; /* 左右分布 */
227
+ align-items: center; /* 垂直居中 */
228
+ gap: 8px;
229
+ display: flex;
230
+ box-sizing: border-box; /* 确保padding包含在高度内 */
231
+
232
+ .ant-select-selection-item {
233
+ flex: 1 1 0;
234
+ color: #344054;
235
+ font-size: 14px;
236
+ font-family: 'Inter', sans-serif;
237
+ font-weight: 600;
238
+ line-height: 1; /* 使用相对行高确保垂直居中 */
239
+ word-wrap: break-word;
240
+ padding: 0;
241
+ margin: 0;
242
+ display: flex;
243
+ align-items: center; /* 文字垂直居中 */
244
+ }
245
+
246
+ .ant-select-selection-placeholder {
247
+ color: #344054;
248
+ font-size: 14px;
249
+ font-family: 'Inter', sans-serif;
250
+ font-weight: 600;
251
+ line-height: 1; /* 使用相对行高 */
252
+ display: flex;
253
+ align-items: center; /* placeholder文字垂直居中 */
254
+ }
255
+
256
+ .ant-select-selection-search {
257
+ display: flex;
258
+ align-items: center; /* 搜索框垂直居中 */
259
+ height: 100%;
260
+
261
+ .ant-select-selection-search-input {
262
+ height: 100%;
263
+ line-height: 1;
264
+ padding: 0;
265
+ margin: 0;
266
+ font-size: 14px;
267
+ font-family: 'Inter', sans-serif;
268
+ font-weight: 600;
269
+ }
270
+ }
271
+ }
272
+
273
+ &:hover .ant-select-selector {
274
+ outline-color: #1890ff;
275
+ background-color: #F9FAFB;
276
+ }
277
+
278
+ &.ant-select-focused .ant-select-selector {
279
+ outline-color: #1890ff;
280
+ box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
281
+ }
282
+
283
+ &.ant-select-open .ant-select-selector {
284
+ outline-color: #1890ff;
285
+ }
286
+
287
+ .ant-select-arrow {
288
+ right: 16px;
289
+ color: #344054;
290
+ font-size: 12px;
291
+ margin-top: 0;
292
+ top: 50%; /* 垂直居中定位 */
293
+ transform: translateY(-50%); /* 垂直居中 */
294
+ display: flex;
295
+ align-items: center; /* 确保图标垂直居中 */
296
+ justify-content: center;
297
+
298
+ .anticon {
299
+ display: none;
300
+ }
301
+ }
302
+ }
303
+
304
+ /* 下拉菜单样式 */
305
+ .ant-select-dropdown {
306
+ border-radius: 8px;
307
+ border: 1px solid #D0D5DD;
308
+ box-shadow: 0px 4px 6px rgba(16, 24, 40, 0.1);
309
+ padding: 4px;
310
+ background: white;
311
+
312
+ .ant-select-item {
313
+ border-radius: 6px;
314
+ margin: 2px 0;
315
+ padding: 8px 12px;
316
+ color: #344054;
317
+ font-size: 14px;
318
+ font-family: 'Inter', sans-serif;
319
+ font-weight: 500;
320
+ line-height: 20px;
321
+ transition: all 0.2s ease;
322
+
323
+ &:hover {
324
+ background-color: #F9FAFB;
325
+ color: #1D2939;
326
+ }
327
+
328
+ &.ant-select-item-option-selected {
329
+ background-color: #1890ff;
330
+ color: white;
331
+ font-weight: 600;
332
+ }
333
+
334
+ &.ant-select-item-option-active {
335
+ background-color: #F9FAFB;
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+
342
+ /* 响应式适配 */
343
+ @media (max-width: 768px) {
344
+ .pisell-pagination {
345
+ /* 移动端保持左右布局,但调整间距 */
346
+ flex-direction: row;
347
+ justify-content: space-between;
348
+ align-items: center;
349
+ gap: 12px;
350
+
351
+ .pagination-info {
352
+ /* 移动端文字样式保持一致 */
353
+ color: #344054;
354
+ font-size: 13px;
355
+ }
356
+
357
+ .pagination-controls {
358
+ justify-content: flex-end;
359
+ gap: 16px;
360
+ }
361
+
362
+ .pagination-group {
363
+ flex: 1;
364
+ justify-content: center;
365
+ }
366
+
367
+ .pagination-prev,
368
+ .pagination-next {
369
+ padding: 8px 12px;
370
+
371
+ span {
372
+ font-size: 13px;
373
+ }
374
+ }
375
+
376
+ .pagination-page {
377
+ width: 36px;
378
+ padding: 8px;
379
+
380
+ font-size: 13px;
381
+ }
382
+
383
+ .pagination-ellipsis {
384
+ width: 36px;
385
+ padding: 8px;
386
+
387
+ span {
388
+ font-size: 13px;
389
+ }
390
+ }
391
+
392
+ .pagination-size-selector {
393
+ width: 80px;
394
+
395
+ .ant-select .ant-select-selector {
396
+ padding: 8px 12px;
397
+ min-height: 36px;
398
+
399
+ .ant-select-selection-item {
400
+ font-size: 13px;
401
+ }
402
+ }
403
+ }
404
+ }
405
+ }
406
+
407
+ @media (max-width: 480px) {
408
+ .pisell-pagination {
409
+ /* 极小屏幕可能需要垂直布局 */
410
+ flex-direction: column;
411
+ align-items: stretch;
412
+ gap: 12px;
413
+
414
+ .pagination-info {
415
+ text-align: center;
416
+ font-size: 12px;
417
+ }
418
+
419
+ .pagination-controls {
420
+ justify-content: center;
421
+ gap: 12px;
422
+ }
423
+
424
+ .pagination-prev span,
425
+ .pagination-next span {
426
+ display: none;
427
+ }
428
+
429
+ .pagination-prev,
430
+ .pagination-next {
431
+ padding: 8px;
432
+ min-width: 36px;
433
+ }
434
+
435
+ .pagination-size-selector {
436
+ width: 70px;
437
+ }
438
+ }
439
+ }
@@ -0,0 +1 @@
1
+ export { default } from './Pagination';
@@ -0,0 +1 @@
1
+ export { default } from "./Pagination";
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import './ScrollLoader.less';
3
+ export interface ScrollLoadState {
4
+ canLoadMore: boolean;
5
+ totalLoaded: number;
6
+ }
7
+ export interface ScrollLoaderProps {
8
+ /** 是否正在加载 */
9
+ loading: boolean;
10
+ /** 滚动加载状态 */
11
+ scrollLoadState?: ScrollLoadState | null;
12
+ /** 布局方向 */
13
+ layoutDirection: 'horizontal' | 'vertical';
14
+ /** 分页类型 */
15
+ paginationType: 'all' | 'scroll' | 'pager' | 'more';
16
+ }
17
+ declare const ScrollLoader: React.FC<ScrollLoaderProps>;
18
+ export default ScrollLoader;
@@ -0,0 +1,18 @@
1
+ import "./ScrollLoader.less";
2
+ var ScrollLoader = function ScrollLoader(_ref) {
3
+ var _ref$loading = _ref.loading,
4
+ loading = _ref$loading === void 0 ? false : _ref$loading,
5
+ scrollLoadState = _ref.scrollLoadState,
6
+ _ref$layoutDirection = _ref.layoutDirection,
7
+ layoutDirection = _ref$layoutDirection === void 0 ? 'vertical' : _ref$layoutDirection,
8
+ _ref$paginationType = _ref.paginationType,
9
+ paginationType = _ref$paginationType === void 0 ? 'all' : _ref$paginationType;
10
+ // 只在滚动加载模式下显示
11
+ if (paginationType !== 'scroll') {
12
+ return null;
13
+ }
14
+
15
+ // list-loading-item 组件已取消
16
+ return null;
17
+ };
18
+ export default ScrollLoader;
@@ -0,0 +1,3 @@
1
+ /* ScrollLoader 组件样式 */
2
+
3
+ /* list-loading-item 组件已取消 */
@@ -0,0 +1,2 @@
1
+ export { default } from './ScrollLoader';
2
+ export type { ScrollLoaderProps, ScrollLoadState } from './ScrollLoader';
@@ -0,0 +1 @@
1
+ export { default } from "./ScrollLoader";
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import './Tab.less';
3
+ import { TabProps } from './types';
4
+ declare const Tab: React.FC<TabProps>;
5
+ export default Tab;
@@ -0,0 +1,43 @@
1
+ import React from 'react';
2
+ import "./Tab.less";
3
+ var Tab = function Tab(_ref) {
4
+ var _ref$className = _ref.className,
5
+ className = _ref$className === void 0 ? '' : _ref$className,
6
+ _ref$style = _ref.style,
7
+ style = _ref$style === void 0 ? {} : _ref$style,
8
+ _ref$activeKey = _ref.activeKey,
9
+ activeKey = _ref$activeKey === void 0 ? '' : _ref$activeKey,
10
+ _ref$items = _ref.items,
11
+ items = _ref$items === void 0 ? [] : _ref$items,
12
+ onChange = _ref.onChange;
13
+ var handleTabClick = function handleTabClick(item) {
14
+ if (item.disabled) {
15
+ return;
16
+ }
17
+
18
+ // Tab切换
19
+ if (item.key !== activeKey) {
20
+ onChange === null || onChange === void 0 || onChange(item.key);
21
+ }
22
+ };
23
+
24
+ // 渲染单个tab项
25
+ var renderTabItem = function renderTabItem(item) {
26
+ return /*#__PURE__*/React.createElement("div", {
27
+ key: item.key,
28
+ className: "pisell-tab-item ".concat(activeKey === item.key ? 'pisell-tab-item-active' : 'pisell-tab-item-inactive', " ").concat(item.disabled ? 'pisell-tab-item-disabled' : ''),
29
+ onClick: function onClick() {
30
+ return handleTabClick(item);
31
+ }
32
+ }, /*#__PURE__*/React.createElement("div", {
33
+ className: "pisell-tab-item-label"
34
+ }, item.label));
35
+ };
36
+ return /*#__PURE__*/React.createElement("div", {
37
+ className: "pisell-tab ".concat(className),
38
+ style: style
39
+ }, items.map(function (item) {
40
+ return renderTabItem(item);
41
+ }));
42
+ };
43
+ export default Tab;
@@ -0,0 +1,139 @@
1
+ /* Tab 组件样式 */
2
+ .pisell-tab {
3
+ align-self: stretch;
4
+ overflow: hidden;
5
+ justify-content: flex-start;
6
+ align-items: center;
7
+ gap: 8px;
8
+ display: inline-flex;
9
+
10
+ .pisell-tab-item {
11
+ height: 40px;
12
+ padding-left: 16px;
13
+ padding-right: 16px;
14
+ border-radius: 88px;
15
+ justify-content: flex-start;
16
+ align-items: center;
17
+ gap: 4px;
18
+ display: flex;
19
+ cursor: pointer;
20
+ transition: all 0.3s ease;
21
+
22
+ .pisell-tab-item-label {
23
+ font-size: 14px;
24
+ font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
25
+ line-height: 20px;
26
+ word-wrap: break-word;
27
+ white-space: nowrap;
28
+ display: flex;
29
+ align-items: center;
30
+ gap: 4px;
31
+
32
+ .pisell-tab-item-count {
33
+ margin-left: 4px;
34
+ font-weight: inherit;
35
+ opacity: 0.7;
36
+ font-size: 12px;
37
+ }
38
+
39
+ .pisell-tab-item-external-icon {
40
+ font-size: 12px;
41
+ opacity: 0.7;
42
+ margin-left: 2px;
43
+ }
44
+ }
45
+
46
+ /* 选中状态 */
47
+ &.pisell-tab-item-active {
48
+ background: #8157D5;
49
+
50
+ .pisell-tab-item-label {
51
+ color: white;
52
+ font-weight: 600 !important;
53
+ }
54
+ }
55
+
56
+ /* 未选中状态 */
57
+ &.pisell-tab-item-inactive {
58
+ background: white;
59
+
60
+ .pisell-tab-item-label {
61
+ color: #101828;
62
+ font-weight: 600 !important;
63
+ }
64
+
65
+ &:hover {
66
+ background: #f5f5f5;
67
+
68
+ .pisell-tab-item-label {
69
+ color: #8157D5;
70
+ }
71
+ }
72
+ }
73
+
74
+ /* 禁用状态 */
75
+ &.pisell-tab-item-disabled {
76
+ cursor: not-allowed;
77
+ opacity: 0.5;
78
+
79
+ &:hover {
80
+ background: white;
81
+
82
+ .pisell-tab-item-label {
83
+ color: #101828;
84
+ }
85
+ }
86
+ }
87
+
88
+ /* 链接类型 tab 项 */
89
+ &.pisell-tab-item-link {
90
+ position: relative;
91
+
92
+ /* 普通链接(锚点)样式 */
93
+ &:not(.pisell-tab-item-external) {
94
+ &.pisell-tab-item-inactive {
95
+ .pisell-tab-item-label {
96
+ color: #1890ff;
97
+ }
98
+
99
+ &:hover {
100
+ .pisell-tab-item-label {
101
+ color: #40a9ff;
102
+ }
103
+ }
104
+ }
105
+ }
106
+
107
+ /* 外部链接样式 */
108
+ &.pisell-tab-item-external {
109
+ &.pisell-tab-item-inactive {
110
+ .pisell-tab-item-label {
111
+ color: #52c41a;
112
+
113
+ .pisell-tab-item-external-icon {
114
+ opacity: 0.8;
115
+ }
116
+ }
117
+
118
+ &:hover {
119
+ .pisell-tab-item-label {
120
+ color: #73d13d;
121
+
122
+ .pisell-tab-item-external-icon {
123
+ opacity: 1;
124
+ }
125
+ }
126
+ }
127
+ }
128
+
129
+ &.pisell-tab-item-active {
130
+ .pisell-tab-item-external-icon {
131
+ color: white;
132
+ opacity: 0.9;
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
138
+
139
+ }
@@ -0,0 +1,2 @@
1
+ export { default } from './Tab';
2
+ export type { TabProps } from './types';
@@ -0,0 +1 @@
1
+ export { default } from "./Tab";
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { TabItem } from '../../types';
3
+ export interface TabProps {
4
+ /** 类名 */
5
+ className?: string;
6
+ /** 样式 */
7
+ style?: React.CSSProperties;
8
+ /** 当前激活的tab */
9
+ activeKey?: string;
10
+ /** tab项 */
11
+ items: TabItem[];
12
+ /** tab切换回调 */
13
+ onChange?: (key: string) => void;
14
+ }
@@ -0,0 +1 @@
1
+ export {};