@pisell/private-materials 6.4.59 → 6.4.60

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 (464) 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/components/actionButtons/index.js +7 -15
  12. package/es/components/booking/components/footer/index.d.ts +0 -1
  13. package/es/components/booking/components/footer/index.js +2 -2
  14. package/es/components/booking/components/voucher/index.js +19 -23
  15. package/es/components/booking/info/service2/utils.d.ts +1 -1
  16. package/es/components/booking/info2/cartClientCard/index.js +3 -7
  17. package/es/components/booking/utils.d.ts +2 -2
  18. package/es/components/checkout/PaymentModal.js +12 -17
  19. package/es/components/checkout/hooks/useWalletPass.js +21 -36
  20. package/es/components/eftposPay/amount.d.ts +1 -1
  21. package/es/components/eftposPay/device.d.ts +1 -1
  22. package/es/components/eftposPay/hooks.d.ts +1 -1
  23. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  24. package/es/components/eftposPay/store/index.d.ts +4 -4
  25. package/es/components/pay/toB/store/hooks.js +5 -19
  26. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -20
  27. package/es/components/ticketBooking/components/addServiceVariant/addService.js +12 -47
  28. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -2
  29. package/es/components/ticketBooking/components/addServiceVariant/index.js +2 -4
  30. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -5
  31. package/es/components/ticketBooking/components/menuBar/index.js +21 -45
  32. package/es/components/ticketBooking/components/menuBar/index.less +1 -32
  33. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -6
  34. package/es/components/ticketBooking/components/ticketBooking/index.js +23 -66
  35. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  36. package/es/components/ticketBooking/components/timeBar/index.less +0 -1
  37. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -5
  38. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +1 -13
  39. package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -1
  40. package/es/components/ticketBooking/hooks/pisellos/index.js +1 -2
  41. package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +4 -12
  42. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +1 -1
  43. package/es/components/ticketBooking/hooks/pisellos/useProducts.js +10 -52
  44. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +2 -5
  45. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +2 -7
  46. package/es/components/ticketBooking/index.d.ts +0 -6
  47. package/es/components/ticketBooking/index.js +11 -86
  48. package/es/components/ticketBooking/utils/index.d.ts +2 -30
  49. package/es/components/ticketBooking/utils/index.js +1 -50
  50. package/es/index.d.ts +0 -2
  51. package/es/index.js +1 -3
  52. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -2
  53. package/es/plus/productSelect/components/pisellPriceText/index.js +5 -7
  54. package/lib/components/booking/components/actionButtons/index.js +15 -22
  55. package/lib/components/booking/components/footer/index.d.ts +0 -1
  56. package/lib/components/booking/components/footer/index.js +2 -2
  57. package/lib/components/booking/components/voucher/index.js +40 -33
  58. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  59. package/lib/components/booking/info2/cartClientCard/index.js +3 -7
  60. package/lib/components/booking/utils.d.ts +2 -2
  61. package/lib/components/checkout/PaymentModal.js +12 -15
  62. package/lib/components/checkout/hooks/useWalletPass.js +45 -57
  63. package/lib/components/eftposPay/amount.d.ts +1 -1
  64. package/lib/components/eftposPay/device.d.ts +1 -1
  65. package/lib/components/eftposPay/hooks.d.ts +1 -1
  66. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  67. package/lib/components/eftposPay/store/index.d.ts +4 -4
  68. package/lib/components/pay/toB/store/hooks.js +8 -16
  69. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -20
  70. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +12 -47
  71. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -2
  72. package/lib/components/ticketBooking/components/addServiceVariant/index.js +2 -3
  73. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -5
  74. package/lib/components/ticketBooking/components/menuBar/index.js +22 -29
  75. package/lib/components/ticketBooking/components/menuBar/index.less +1 -32
  76. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -6
  77. package/lib/components/ticketBooking/components/ticketBooking/index.js +25 -56
  78. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  79. package/lib/components/ticketBooking/components/timeBar/index.less +0 -1
  80. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -5
  81. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +1 -5
  82. package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -1
  83. package/lib/components/ticketBooking/hooks/pisellos/index.js +1 -3
  84. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +10 -17
  85. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +1 -1
  86. package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +5 -35
  87. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +2 -4
  88. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +2 -6
  89. package/lib/components/ticketBooking/index.d.ts +0 -6
  90. package/lib/components/ticketBooking/index.js +8 -64
  91. package/lib/components/ticketBooking/utils/index.d.ts +2 -30
  92. package/lib/components/ticketBooking/utils/index.js +2 -70
  93. package/lib/index.d.ts +0 -2
  94. package/lib/index.js +0 -6
  95. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -2
  96. package/lib/plus/productSelect/components/pisellPriceText/index.js +5 -6
  97. package/package.json +1 -1
  98. package/es/components/list/List.d.ts +0 -5
  99. package/es/components/list/List.js +0 -957
  100. package/es/components/list/List.less +0 -2
  101. package/es/components/list/ResponsiveWrapper.d.ts +0 -16
  102. package/es/components/list/ResponsiveWrapper.js +0 -130
  103. package/es/components/list/TestResponsiveWrapper.d.ts +0 -8
  104. package/es/components/list/TestResponsiveWrapper.js +0 -816
  105. package/es/components/list/TestResponsiveWrapper.less +0 -968
  106. package/es/components/list/components/EmptyState/EmptyState.d.ts +0 -20
  107. package/es/components/list/components/EmptyState/EmptyState.js +0 -75
  108. package/es/components/list/components/EmptyState/EmptyState.less +0 -121
  109. package/es/components/list/components/EmptyState/index.d.ts +0 -2
  110. package/es/components/list/components/EmptyState/index.js +0 -1
  111. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
  112. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.js +0 -39
  113. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.less +0 -29
  114. package/es/components/list/components/ListItemSkeleton/index.d.ts +0 -2
  115. package/es/components/list/components/ListItemSkeleton/index.js +0 -2
  116. package/es/components/list/components/Pagination/Pagination.d.ts +0 -30
  117. package/es/components/list/components/Pagination/Pagination.js +0 -240
  118. package/es/components/list/components/Pagination/Pagination.less +0 -439
  119. package/es/components/list/components/Pagination/index.d.ts +0 -1
  120. package/es/components/list/components/Pagination/index.js +0 -1
  121. package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
  122. package/es/components/list/components/ScrollLoader/ScrollLoader.js +0 -18
  123. package/es/components/list/components/ScrollLoader/ScrollLoader.less +0 -3
  124. package/es/components/list/components/ScrollLoader/index.d.ts +0 -2
  125. package/es/components/list/components/ScrollLoader/index.js +0 -1
  126. package/es/components/list/components/Tab/Tab.d.ts +0 -5
  127. package/es/components/list/components/Tab/Tab.js +0 -43
  128. package/es/components/list/components/Tab/Tab.less +0 -139
  129. package/es/components/list/components/Tab/index.d.ts +0 -2
  130. package/es/components/list/components/Tab/index.js +0 -1
  131. package/es/components/list/components/Tab/types.d.ts +0 -14
  132. package/es/components/list/components/Tab/types.js +0 -1
  133. package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
  134. package/es/components/list/components/TabSkeleton/TabSkeleton.js +0 -28
  135. package/es/components/list/components/TabSkeleton/TabSkeleton.less +0 -38
  136. package/es/components/list/components/TabSkeleton/index.d.ts +0 -2
  137. package/es/components/list/components/TabSkeleton/index.js +0 -2
  138. package/es/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
  139. package/es/components/list/components/WaterfallList/WaterfallList.js +0 -191
  140. package/es/components/list/components/WaterfallList/WaterfallList.less +0 -201
  141. package/es/components/list/components/WaterfallList/index.d.ts +0 -2
  142. package/es/components/list/components/WaterfallList/index.js +0 -1
  143. package/es/components/list/examples/GroupedListExample.d.ts +0 -3
  144. package/es/components/list/examples/GroupedListExample.js +0 -207
  145. package/es/components/list/hooks/index.d.ts +0 -5
  146. package/es/components/list/hooks/index.js +0 -3
  147. package/es/components/list/hooks/useDevice.d.ts +0 -24
  148. package/es/components/list/hooks/useDevice.js +0 -102
  149. package/es/components/list/hooks/useListState.d.ts +0 -43
  150. package/es/components/list/hooks/useListState.js +0 -176
  151. package/es/components/list/hooks/useWaterfall.d.ts +0 -34
  152. package/es/components/list/hooks/useWaterfall.js +0 -161
  153. package/es/components/list/index.d.ts +0 -10
  154. package/es/components/list/index.js +0 -7
  155. package/es/components/list/locales.d.ts +0 -66
  156. package/es/components/list/locales.js +0 -107
  157. package/es/components/list/styles/base.less +0 -39
  158. package/es/components/list/styles/content.less +0 -416
  159. package/es/components/list/styles/floatButton.less +0 -107
  160. package/es/components/list/styles/footer.less +0 -49
  161. package/es/components/list/styles/header.less +0 -69
  162. package/es/components/list/styles/responsive.less +0 -166
  163. package/es/components/list/types.d.ts +0 -177
  164. package/es/components/list/types.js +0 -1
  165. package/es/components/list/utils/getText.d.ts +0 -53
  166. package/es/components/list/utils/getText.js +0 -150
  167. package/es/components/list/utils/index.d.ts +0 -4
  168. package/es/components/list/utils/index.js +0 -5
  169. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
  170. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +0 -143
  171. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
  172. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.js +0 -7
  173. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.less +0 -41
  174. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
  175. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.js +0 -273
  176. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -50
  177. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +0 -130
  178. package/es/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
  179. package/es/components/ticketBooking/context/IsActiveContext.js +0 -37
  180. package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
  181. package/es/components/ticketBooking/context/OsKeyContext.js +0 -37
  182. package/es/components/ticketBooking/context/index.d.ts +0 -2
  183. package/es/components/ticketBooking/context/index.js +0 -2
  184. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
  185. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.js +0 -50
  186. package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +0 -6
  187. package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +0 -17
  188. package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
  189. package/es/components/ticketBooking/utils/productCache.js +0 -184
  190. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
  191. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +0 -11
  192. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +0 -8
  193. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
  194. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +0 -11
  195. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +0 -17
  196. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
  197. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +0 -11
  198. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +0 -17
  199. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
  200. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +0 -11
  201. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +0 -17
  202. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
  203. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +0 -11
  204. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +0 -2
  205. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -8
  206. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +0 -100
  207. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +0 -8
  208. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
  209. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +0 -32
  210. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +0 -3
  211. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -8
  212. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +0 -239
  213. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +0 -44
  214. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
  215. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +0 -34
  216. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +0 -14
  217. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -4
  218. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +0 -33
  219. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +0 -30
  220. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -5
  221. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +0 -75
  222. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +0 -46
  223. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
  224. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +0 -39
  225. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +0 -9
  226. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -7
  227. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +0 -53
  228. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +0 -31
  229. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
  230. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +0 -31
  231. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +0 -3
  232. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -7
  233. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +0 -58
  234. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +0 -11
  235. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +0 -7
  236. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +0 -85
  237. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +0 -24
  238. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -7
  239. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +0 -121
  240. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +0 -57
  241. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -7
  242. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +0 -95
  243. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +0 -18
  244. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
  245. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +0 -31
  246. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +0 -3
  247. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
  248. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +0 -47
  249. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +0 -3
  250. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
  251. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +0 -34
  252. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +0 -13
  253. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -7
  254. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +0 -95
  255. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +0 -18
  256. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
  257. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +0 -31
  258. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +0 -3
  259. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
  260. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +0 -34
  261. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +0 -13
  262. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
  263. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +0 -39
  264. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +0 -22
  265. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
  266. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +0 -20
  267. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +0 -20
  268. package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +0 -6
  269. package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +0 -55
  270. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
  271. package/es/plus/productSelect/ProductCard/SkuCard/index.js +0 -38
  272. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
  273. package/es/plus/productSelect/ProductCard/SkuCard/locales.js +0 -41
  274. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
  275. package/es/plus/productSelect/ProductCard/SkuCard/status.js +0 -481
  276. package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
  277. package/es/plus/productSelect/ProductCard/SkuCard/type.js +0 -1
  278. package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
  279. package/es/plus/productSelect/ProductCard/SkuCard/utils.js +0 -21
  280. package/lib/components/list/List.d.ts +0 -5
  281. package/lib/components/list/List.js +0 -771
  282. package/lib/components/list/List.less +0 -2
  283. package/lib/components/list/ResponsiveWrapper.d.ts +0 -16
  284. package/lib/components/list/ResponsiveWrapper.js +0 -145
  285. package/lib/components/list/TestResponsiveWrapper.d.ts +0 -8
  286. package/lib/components/list/TestResponsiveWrapper.js +0 -493
  287. package/lib/components/list/TestResponsiveWrapper.less +0 -968
  288. package/lib/components/list/components/EmptyState/EmptyState.d.ts +0 -20
  289. package/lib/components/list/components/EmptyState/EmptyState.js +0 -75
  290. package/lib/components/list/components/EmptyState/EmptyState.less +0 -121
  291. package/lib/components/list/components/EmptyState/index.d.ts +0 -2
  292. package/lib/components/list/components/EmptyState/index.js +0 -35
  293. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
  294. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.js +0 -75
  295. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.less +0 -29
  296. package/lib/components/list/components/ListItemSkeleton/index.d.ts +0 -2
  297. package/lib/components/list/components/ListItemSkeleton/index.js +0 -41
  298. package/lib/components/list/components/Pagination/Pagination.d.ts +0 -30
  299. package/lib/components/list/components/Pagination/Pagination.js +0 -205
  300. package/lib/components/list/components/Pagination/Pagination.less +0 -439
  301. package/lib/components/list/components/Pagination/index.d.ts +0 -1
  302. package/lib/components/list/components/Pagination/index.js +0 -35
  303. package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
  304. package/lib/components/list/components/ScrollLoader/ScrollLoader.js +0 -37
  305. package/lib/components/list/components/ScrollLoader/ScrollLoader.less +0 -3
  306. package/lib/components/list/components/ScrollLoader/index.d.ts +0 -2
  307. package/lib/components/list/components/ScrollLoader/index.js +0 -35
  308. package/lib/components/list/components/Tab/Tab.d.ts +0 -5
  309. package/lib/components/list/components/Tab/Tab.js +0 -72
  310. package/lib/components/list/components/Tab/Tab.less +0 -139
  311. package/lib/components/list/components/Tab/index.d.ts +0 -2
  312. package/lib/components/list/components/Tab/index.js +0 -35
  313. package/lib/components/list/components/Tab/types.d.ts +0 -14
  314. package/lib/components/list/components/Tab/types.js +0 -17
  315. package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
  316. package/lib/components/list/components/TabSkeleton/TabSkeleton.js +0 -61
  317. package/lib/components/list/components/TabSkeleton/TabSkeleton.less +0 -38
  318. package/lib/components/list/components/TabSkeleton/index.d.ts +0 -2
  319. package/lib/components/list/components/TabSkeleton/index.js +0 -41
  320. package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
  321. package/lib/components/list/components/WaterfallList/WaterfallList.js +0 -178
  322. package/lib/components/list/components/WaterfallList/WaterfallList.less +0 -201
  323. package/lib/components/list/components/WaterfallList/index.d.ts +0 -2
  324. package/lib/components/list/components/WaterfallList/index.js +0 -35
  325. package/lib/components/list/examples/GroupedListExample.d.ts +0 -3
  326. package/lib/components/list/examples/GroupedListExample.js +0 -210
  327. package/lib/components/list/hooks/index.d.ts +0 -5
  328. package/lib/components/list/hooks/index.js +0 -47
  329. package/lib/components/list/hooks/useDevice.d.ts +0 -24
  330. package/lib/components/list/hooks/useDevice.js +0 -96
  331. package/lib/components/list/hooks/useListState.d.ts +0 -43
  332. package/lib/components/list/hooks/useListState.js +0 -149
  333. package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
  334. package/lib/components/list/hooks/useWaterfall.js +0 -124
  335. package/lib/components/list/index.d.ts +0 -10
  336. package/lib/components/list/index.js +0 -60
  337. package/lib/components/list/locales.d.ts +0 -66
  338. package/lib/components/list/locales.js +0 -113
  339. package/lib/components/list/styles/base.less +0 -39
  340. package/lib/components/list/styles/content.less +0 -416
  341. package/lib/components/list/styles/floatButton.less +0 -107
  342. package/lib/components/list/styles/footer.less +0 -49
  343. package/lib/components/list/styles/header.less +0 -69
  344. package/lib/components/list/styles/responsive.less +0 -166
  345. package/lib/components/list/types.d.ts +0 -177
  346. package/lib/components/list/types.js +0 -17
  347. package/lib/components/list/utils/getText.d.ts +0 -53
  348. package/lib/components/list/utils/getText.js +0 -95
  349. package/lib/components/list/utils/index.d.ts +0 -4
  350. package/lib/components/list/utils/index.js +0 -43
  351. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
  352. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +0 -165
  353. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
  354. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.js +0 -45
  355. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.less +0 -41
  356. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
  357. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.js +0 -247
  358. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -50
  359. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +0 -100
  360. package/lib/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
  361. package/lib/components/ticketBooking/context/IsActiveContext.js +0 -56
  362. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
  363. package/lib/components/ticketBooking/context/OsKeyContext.js +0 -56
  364. package/lib/components/ticketBooking/context/index.d.ts +0 -2
  365. package/lib/components/ticketBooking/context/index.js +0 -44
  366. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
  367. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.js +0 -47
  368. package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +0 -6
  369. package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +0 -37
  370. package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
  371. package/lib/components/ticketBooking/utils/productCache.js +0 -144
  372. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
  373. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +0 -42
  374. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +0 -8
  375. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
  376. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +0 -42
  377. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +0 -17
  378. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
  379. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +0 -42
  380. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +0 -17
  381. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
  382. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +0 -42
  383. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +0 -17
  384. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
  385. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +0 -42
  386. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +0 -2
  387. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -8
  388. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +0 -129
  389. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +0 -8
  390. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
  391. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +0 -52
  392. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +0 -3
  393. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -8
  394. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +0 -178
  395. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +0 -44
  396. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
  397. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +0 -52
  398. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +0 -14
  399. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -4
  400. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +0 -63
  401. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +0 -30
  402. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -5
  403. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +0 -131
  404. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +0 -46
  405. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
  406. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +0 -62
  407. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +0 -9
  408. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -7
  409. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +0 -78
  410. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +0 -31
  411. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
  412. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +0 -51
  413. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +0 -3
  414. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -7
  415. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +0 -94
  416. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +0 -11
  417. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +0 -7
  418. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +0 -115
  419. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +0 -24
  420. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -7
  421. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +0 -139
  422. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +0 -57
  423. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -7
  424. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +0 -97
  425. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +0 -18
  426. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
  427. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +0 -51
  428. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +0 -3
  429. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
  430. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +0 -58
  431. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +0 -3
  432. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
  433. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +0 -56
  434. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +0 -13
  435. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -7
  436. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +0 -97
  437. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +0 -18
  438. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
  439. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +0 -51
  440. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +0 -3
  441. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
  442. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +0 -56
  443. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +0 -13
  444. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
  445. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +0 -58
  446. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +0 -22
  447. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
  448. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +0 -49
  449. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +0 -20
  450. package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +0 -6
  451. package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +0 -83
  452. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
  453. package/lib/plus/productSelect/ProductCard/SkuCard/index.js +0 -68
  454. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
  455. package/lib/plus/productSelect/ProductCard/SkuCard/locales.js +0 -65
  456. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
  457. package/lib/plus/productSelect/ProductCard/SkuCard/status.js +0 -501
  458. package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
  459. package/lib/plus/productSelect/ProductCard/SkuCard/type.js +0 -17
  460. package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
  461. package/lib/plus/productSelect/ProductCard/SkuCard/utils.js +0 -37
  462. package/lowcode/sku-card/meta.ts +0 -1812
  463. package/lowcode/sku-card/snippets.ts +0 -372
  464. package/lowcode/sku-list/meta.ts +0 -410
@@ -1,201 +0,0 @@
1
- /* WaterfallList 组件样式 */
2
-
3
- :root {
4
- --waterfall-item-padding: 16px;
5
- --waterfall-item-border-radius: 8px;
6
- --waterfall-item-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
7
- --waterfall-item-border: 1px solid #f0f0f0;
8
- --waterfall-item-bg: #fff;
9
- --waterfall-min-row-height: 120px;
10
- }
11
-
12
- .waterfall-container {
13
- width: 100%;
14
- /* 使用更高优先级的选择器,避免!important */
15
- &.waterfall-container {
16
- align-items: flex-start; /* 确保瀑布流列不会被拉伸到相同高度 */
17
- }
18
- }
19
-
20
- /* 瀑布流项目的基础样式重置 - 使用更具体的选择器 */
21
- .waterfall-container .list-item.waterfall-item {
22
- height: auto; /* 覆盖grid样式 */
23
- width: auto; /* 覆盖可能的宽度限制 */
24
- /* 确保盒模型正确 */
25
- box-sizing: border-box;
26
- }
27
-
28
- .waterfall-track {
29
- /* 每个轨道的基础样式 */
30
- min-height: 0;
31
-
32
- &.waterfall-track-vertical {
33
- /* 垂直模式:轨道是列,等宽分布但高度自适应 */
34
- flex: 1 0 0; /* 等宽分布,不收缩,初始宽度为0 */
35
- min-width: 0; /* 允许内容收缩 */
36
- align-self: flex-start; /* 确保列高度自适应,不被拉伸 */
37
- height: auto; /* 明确设置高度自适应 */
38
- }
39
-
40
- &.waterfall-track-horizontal {
41
- /* 水平模式:轨道是行,自适应高度 */
42
- flex: 0 0 auto;
43
- width: 100%;
44
- min-height: var(--waterfall-min-row-height); /* 确保行有最小高度 */
45
- margin-bottom: 0; /* 移除可能的margin */
46
- }
47
-
48
- /* 瀑布流项目样式 */
49
- .waterfall-item {
50
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
51
-
52
- .default-waterfall-item {
53
- transition: all 0.3s ease;
54
- background: var(--waterfall-item-bg);
55
- border-radius: var(--waterfall-item-border-radius);
56
- box-shadow: var(--waterfall-item-shadow);
57
- border: var(--waterfall-item-border);
58
- padding: var(--waterfall-item-padding);
59
- }
60
-
61
- /* 悬停效果 - 使用更具体的选择器 */
62
- &:hover .default-waterfall-item {
63
- transform: translateY(-2px);
64
- box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
65
- }
66
- }
67
-
68
- /* 垂直模式下的轨道项目样式 */
69
- &.waterfall-track-vertical .waterfall-item {
70
- width: 100%; /* 填满列宽 */
71
- flex: 0 0 auto; /* 不拉伸,保持原始高度 */
72
- /* 高度通过内联样式设置,这里不再强制覆盖 */
73
-
74
- /* 确保内部组件填充整个容器 - 使用更具体的选择器 */
75
- &.waterfall-item > * {
76
- height: 100%;
77
- box-sizing: border-box;
78
- }
79
-
80
- /* 默认瀑布流项目样式 */
81
- .default-waterfall-item {
82
- /* 填充容器高度 */
83
- height: 100%;
84
- min-height: unset; /* 移除可能的最小高度限制 */
85
- max-height: none; /* 移除可能的最大高度限制 */
86
- flex-shrink: 0; /* 防止被压缩 */
87
- flex-grow: 0; /* 防止被拉伸 */
88
- display: flex;
89
- flex-direction: column;
90
- position: relative;
91
- }
92
- }
93
-
94
- /* 卡片组件适配 - 分离出单独的mixin */
95
- &.waterfall-track-vertical .waterfall-item {
96
- /* Ant Design Card 组件适配 */
97
- .ant-card,
98
- .ant-card-bordered {
99
- &.ant-card {
100
- height: 100%;
101
- min-height: 100%;
102
- max-height: none;
103
- display: flex;
104
- flex-direction: column;
105
-
106
- .ant-card-body {
107
- &.ant-card-body {
108
- height: 100%;
109
- min-height: 100%;
110
- max-height: none;
111
- display: flex;
112
- flex-direction: column;
113
- flex-grow: 1; /* 关键:让card-body填满整个卡片 */
114
- padding: var(--waterfall-item-padding); /* 使用CSS变量 */
115
- }
116
- }
117
- }
118
- }
119
-
120
- /* Pisell Card 组件适配 */
121
- .pisell-card-wrap {
122
- &.pisell-card-wrap {
123
- height: 100%;
124
- }
125
- }
126
-
127
- /* Pisell Product Card 组件适配 */
128
- .pisell-product-card {
129
- &.pisell-product-card {
130
- height: 100%;
131
- min-height: 100%;
132
- max-height: none;
133
- display: flex;
134
- flex-direction: column;
135
-
136
- .pisell-product-card-content {
137
- &.pisell-product-card-content {
138
- height: 100%;
139
- min-height: 100%;
140
- max-height: none;
141
- display: flex;
142
- flex-direction: column;
143
- flex-grow: 1; /* 关键:让content填满整个卡片 */
144
- justify-content: space-between; /* 内容分散对齐 */
145
- }
146
- }
147
-
148
- .pisell-product-card-image {
149
- &.pisell-product-card-image {
150
- flex-grow: 1; /* 让图片区域扩展填充可用空间 */
151
- display: flex;
152
- align-items: center;
153
- justify-content: center;
154
- min-height: 60px; /* 最小高度 */
155
-
156
- .image {
157
- &.image {
158
- width: 100%;
159
- height: 100%;
160
- min-height: inherit;
161
- }
162
- }
163
- }
164
- }
165
-
166
- .pisell-product-card-info,
167
- .pisell-product-card-arrow {
168
- &.pisell-product-card-info,
169
- &.pisell-product-card-arrow {
170
- flex-shrink: 0; /* 保持固定大小 */
171
- }
172
- }
173
- }
174
- }
175
-
176
- /* 通用卡片组件适配 - 使用属性选择器提高优先级 */
177
- [class*="card"],
178
- [class*="Card"] {
179
- &[class*="card"],
180
- &[class*="Card"] {
181
- height: 100%;
182
- min-height: 100%;
183
- max-height: none;
184
-
185
- > * {
186
- &:first-child {
187
- height: 100%;
188
- min-height: 100%;
189
- max-height: none;
190
- }
191
- }
192
- }
193
- }
194
- }
195
-
196
- /* 水平模式下的轨道项目样式 */
197
- &.waterfall-track-horizontal .waterfall-item {
198
- flex-shrink: 0; /* 保持预设宽度 */
199
- height: auto; /* 自适应高度 */
200
- }
201
- }
@@ -1,2 +0,0 @@
1
- export { default } from './WaterfallList';
2
- export type { WaterfallListProps } from './WaterfallList';
@@ -1,35 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/components/list/components/WaterfallList/index.ts
30
- var WaterfallList_exports = {};
31
- __export(WaterfallList_exports, {
32
- default: () => import_WaterfallList.default
33
- });
34
- module.exports = __toCommonJS(WaterfallList_exports);
35
- var import_WaterfallList = __toESM(require("./WaterfallList"));
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const GroupedListExample: React.FC;
3
- export default GroupedListExample;
@@ -1,210 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/components/list/examples/GroupedListExample.tsx
30
- var GroupedListExample_exports = {};
31
- __export(GroupedListExample_exports, {
32
- default: () => GroupedListExample_default
33
- });
34
- module.exports = __toCommonJS(GroupedListExample_exports);
35
- var import_react = __toESM(require("react"));
36
- var import__ = require("../index");
37
- var GroupedListExample = () => {
38
- const mockTicketData = [
39
- {
40
- id: "1",
41
- title: "2hrs upgrade Unlimited",
42
- description: "Adult Day",
43
- price: 90,
44
- duration: "2 h",
45
- ticketType: "all-access",
46
- category: "Adult Day Pass"
47
- },
48
- {
49
- id: "2",
50
- title: "2hrs upgrade Unlimited",
51
- description: "Kid Day",
52
- price: 90,
53
- duration: "2 h",
54
- ticketType: "all-access",
55
- category: "Kids Day Pass"
56
- },
57
- {
58
- id: "3",
59
- title: "2hrs upgrade Unlimited",
60
- description: "Family Package",
61
- price: 90,
62
- duration: "2 h",
63
- ticketType: "all-access",
64
- category: "Family Pass"
65
- },
66
- {
67
- id: "4",
68
- title: "Child Ticket - Morning",
69
- description: "Special price for children",
70
- price: 45,
71
- duration: "4 h",
72
- ticketType: "child",
73
- category: "Morning Session"
74
- },
75
- {
76
- id: "5",
77
- title: "Child Ticket - Afternoon",
78
- description: "Afternoon activities",
79
- price: 45,
80
- duration: "4 h",
81
- ticketType: "child",
82
- category: "Afternoon Session"
83
- },
84
- {
85
- id: "6",
86
- title: "Adult Standard",
87
- description: "Standard adult admission",
88
- price: 70,
89
- duration: "6 h",
90
- ticketType: "adult",
91
- category: "Standard Admission"
92
- },
93
- {
94
- id: "7",
95
- title: "Adult Premium",
96
- description: "Premium experience",
97
- price: 120,
98
- duration: "8 h",
99
- ticketType: "adult",
100
- category: "Premium Experience"
101
- },
102
- {
103
- id: "8",
104
- title: "Special Event",
105
- description: "Limited time offer",
106
- price: 150,
107
- duration: "3 h",
108
- ticketType: "category5",
109
- category: "Special Event"
110
- }
111
- ];
112
- const tabItems = [
113
- {
114
- key: "all-access",
115
- label: `All-Access Ticket (${mockTicketData.filter((item) => item.ticketType === "all-access").length})`,
116
- group: "all-access"
117
- },
118
- {
119
- key: "child",
120
- label: `Child Ticket (${mockTicketData.filter((item) => item.ticketType === "child").length})`,
121
- group: "child"
122
- },
123
- {
124
- key: "adult",
125
- label: `Adult Ticket (${mockTicketData.filter((item) => item.ticketType === "adult").length})`,
126
- group: "adult"
127
- },
128
- {
129
- key: "category5",
130
- label: `Category 5 (${mockTicketData.filter((item) => item.ticketType === "category5").length})`,
131
- group: "category5"
132
- }
133
- ];
134
- const [currentData] = (0, import_react.useState)(mockTicketData);
135
- const [loading] = (0, import_react.useState)(false);
136
- const renderTicketItem = (item, index) => /* @__PURE__ */ import_react.default.createElement(
137
- "div",
138
- {
139
- key: item.id,
140
- style: {
141
- background: "#FFF",
142
- borderRadius: "12px",
143
- padding: "16px",
144
- border: "1px solid #E4E7EC",
145
- boxShadow: "0px 1px 2px rgba(16, 24, 40, 0.05)",
146
- height: "160px",
147
- display: "flex",
148
- flexDirection: "column",
149
- justifyContent: "space-between"
150
- }
151
- },
152
- /* @__PURE__ */ import_react.default.createElement("div", { style: {
153
- height: "60px",
154
- background: `linear-gradient(135deg, ${item.ticketType === "all-access" ? "#8157D5, #B794F6" : item.ticketType === "child" ? "#F56565, #FC8181" : item.ticketType === "adult" ? "#4299E1, #63B3ED" : "#ED8936, #F6AD55"})`,
155
- borderRadius: "8px",
156
- marginBottom: "12px",
157
- display: "flex",
158
- alignItems: "center",
159
- justifyContent: "center",
160
- color: "white",
161
- fontWeight: "bold",
162
- fontSize: "18px"
163
- } }, item.description),
164
- /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("h3", { style: {
165
- fontSize: "16px",
166
- fontWeight: "600",
167
- margin: "0 0 4px 0",
168
- color: "#101828"
169
- } }, item.title), /* @__PURE__ */ import_react.default.createElement("p", { style: {
170
- fontSize: "14px",
171
- color: "#667085",
172
- margin: "0 0 8px 0"
173
- } }, item.duration), /* @__PURE__ */ import_react.default.createElement("p", { style: {
174
- fontSize: "18px",
175
- fontWeight: "700",
176
- color: "#101828",
177
- margin: 0
178
- } }, "A$ ", item.price))
179
- );
180
- return /* @__PURE__ */ import_react.default.createElement("div", { style: { padding: "20px", maxWidth: "1200px", margin: "0 auto" } }, /* @__PURE__ */ import_react.default.createElement("h1", { style: { marginBottom: "20px", color: "#101828" } }, "门票分组展示示例"), /* @__PURE__ */ import_react.default.createElement(
181
- import__.List,
182
- {
183
- data: currentData,
184
- tabData: tabItems,
185
- tabGroup: "ticketType",
186
- tabStyle: "anchor",
187
- displayStyle: "grid",
188
- layoutDirection: "vertical",
189
- columns: 2,
190
- rows: 2,
191
- columnGap: 16,
192
- rowGap: 16,
193
- height: "600px",
194
- renderItem: renderTicketItem,
195
- loading,
196
- emptyConfig: {
197
- show: true,
198
- text: "暂无门票数据",
199
- description: "请稍后再试"
200
- },
201
- className: "ticket-list-example"
202
- }
203
- ), /* @__PURE__ */ import_react.default.createElement("div", { style: {
204
- marginTop: "20px",
205
- padding: "16px",
206
- background: "#F8F9FA",
207
- borderRadius: "8px"
208
- } }, /* @__PURE__ */ import_react.default.createElement("h3", null, "使用说明:"), /* @__PURE__ */ import_react.default.createElement("ul", null, /* @__PURE__ */ import_react.default.createElement("li", null, "通过 ", /* @__PURE__ */ import_react.default.createElement("code", null, 'tabGroup="ticketType"'), " 指定使用数据项的 ticketType 字段进行分组"), /* @__PURE__ */ import_react.default.createElement("li", null, "Tab的 group 属性值对应数据项中 ticketType 字段的值"), /* @__PURE__ */ import_react.default.createElement("li", null, "点击不同的标签页可以查看不同分组的门票"), /* @__PURE__ */ import_react.default.createElement("li", null, "数据会根据选择的分组自动过滤"), /* @__PURE__ */ import_react.default.createElement("li", null, "每个标签页显示对应分组的数量"), /* @__PURE__ */ import_react.default.createElement("li", null, "支持所有现有的List组件布局和分页模式"))));
209
- };
210
- var GroupedListExample_default = GroupedListExample;
@@ -1,5 +0,0 @@
1
- export { useDevice, getUserAgentInfo } from './useDevice';
2
- export type { DeviceType, DeviceInfo } from './useDevice';
3
- export { default as useWaterfall } from './useWaterfall';
4
- export { useListState } from './useListState';
5
- export type { ListState, ListAction, UseListStateProps, UseListStateReturn } from './useListState';
@@ -1,47 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/components/list/hooks/index.ts
30
- var hooks_exports = {};
31
- __export(hooks_exports, {
32
- getUserAgentInfo: () => import_useDevice.getUserAgentInfo,
33
- useDevice: () => import_useDevice.useDevice,
34
- useListState: () => import_useListState.useListState,
35
- useWaterfall: () => import_useWaterfall.default
36
- });
37
- module.exports = __toCommonJS(hooks_exports);
38
- var import_useDevice = require("./useDevice");
39
- var import_useWaterfall = __toESM(require("./useWaterfall"));
40
- var import_useListState = require("./useListState");
41
- // Annotate the CommonJS export names for ESM import in node:
42
- 0 && (module.exports = {
43
- getUserAgentInfo,
44
- useDevice,
45
- useListState,
46
- useWaterfall
47
- });
@@ -1,24 +0,0 @@
1
- export declare type DeviceType = 'pc' | 'pad' | 'mobile';
2
- export interface DeviceInfo {
3
- type: DeviceType;
4
- isMobile: boolean;
5
- isPad: boolean;
6
- isPc: boolean;
7
- width: number;
8
- height: number;
9
- }
10
- /**
11
- * 设备检测Hook
12
- * 根据屏幕宽度和用户代理判断当前设备类型
13
- */
14
- export declare const useDevice: () => DeviceInfo;
15
- /**
16
- * 获取用户代理信息
17
- * @returns 用户代理相关信息
18
- */
19
- export declare const getUserAgentInfo: () => {
20
- isMobileUA: boolean;
21
- isTabletUA: boolean;
22
- isDesktopUA: boolean;
23
- userAgent: string;
24
- };
@@ -1,96 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // src/components/list/hooks/useDevice.ts
20
- var useDevice_exports = {};
21
- __export(useDevice_exports, {
22
- getUserAgentInfo: () => getUserAgentInfo,
23
- useDevice: () => useDevice
24
- });
25
- module.exports = __toCommonJS(useDevice_exports);
26
- var import_react = require("react");
27
- var useDevice = () => {
28
- const [deviceInfo, setDeviceInfo] = (0, import_react.useState)(() => {
29
- const initialWidth = typeof window !== "undefined" ? window.innerWidth : 1920;
30
- const initialHeight = typeof window !== "undefined" ? window.innerHeight : 1080;
31
- const initialType = getDeviceType(initialWidth);
32
- return {
33
- type: initialType,
34
- isMobile: initialType === "mobile",
35
- isPad: initialType === "pad",
36
- isPc: initialType === "pc",
37
- width: initialWidth,
38
- height: initialHeight
39
- };
40
- });
41
- (0, import_react.useEffect)(() => {
42
- const handleResize = () => {
43
- const width = window.innerWidth;
44
- const height = window.innerHeight;
45
- const type = getDeviceType(width);
46
- setDeviceInfo({
47
- type,
48
- isMobile: type === "mobile",
49
- isPad: type === "pad",
50
- isPc: type === "pc",
51
- width,
52
- height
53
- });
54
- };
55
- handleResize();
56
- window.addEventListener("resize", handleResize);
57
- return () => {
58
- window.removeEventListener("resize", handleResize);
59
- };
60
- }, []);
61
- return deviceInfo;
62
- };
63
- function getDeviceType(width) {
64
- if (width < 768) {
65
- return "mobile";
66
- } else if (width < 1200) {
67
- return "pad";
68
- } else {
69
- return "pc";
70
- }
71
- }
72
- var getUserAgentInfo = () => {
73
- if (typeof window === "undefined" || !window.navigator) {
74
- return {
75
- isMobileUA: false,
76
- isTabletUA: false,
77
- isDesktopUA: true,
78
- userAgent: ""
79
- };
80
- }
81
- const userAgent = window.navigator.userAgent.toLowerCase();
82
- const isMobileUA = /mobile|android|iphone|ipod|phone/.test(userAgent);
83
- const isTabletUA = /tablet|ipad/.test(userAgent) && !isMobileUA;
84
- const isDesktopUA = !isMobileUA && !isTabletUA;
85
- return {
86
- isMobileUA,
87
- isTabletUA,
88
- isDesktopUA,
89
- userAgent
90
- };
91
- };
92
- // Annotate the CommonJS export names for ESM import in node:
93
- 0 && (module.exports = {
94
- getUserAgentInfo,
95
- useDevice
96
- });
@@ -1,43 +0,0 @@
1
- import { TabItem, LoadDataParams } from '../types';
2
- export interface ListState {
3
- activeTab: string;
4
- currentPage: number;
5
- isStickyActive: boolean;
6
- }
7
- export declare type ListAction = {
8
- type: 'SET_ACTIVE_TAB';
9
- payload: string;
10
- } | {
11
- type: 'SET_CURRENT_PAGE';
12
- payload: number;
13
- } | {
14
- type: 'SET_STICKY_ACTIVE';
15
- payload: boolean;
16
- } | {
17
- type: 'RESET_PAGE';
18
- };
19
- export interface UseListStateProps {
20
- /** 外部传入的当前页码 */
21
- externalCurrentPage?: number;
22
- /** tab数据 */
23
- tabItems: TabItem[];
24
- /** 默认页面大小 */
25
- defaultPageSize: number;
26
- /** 数据加载回调 */
27
- onLoadData?: (params: LoadDataParams) => void;
28
- }
29
- export interface UseListStateReturn {
30
- state: ListState;
31
- setActiveTab: (tab: string) => void;
32
- setCurrentPage: (page: number) => void;
33
- setStickyActive: (active: boolean) => void;
34
- resetPage: () => void;
35
- handleTabChange: (key: string) => void;
36
- handlePageChange: (page: number, size?: number) => void;
37
- handleShowSizeChange: (current: number, size: number) => void;
38
- handleLoadMore: () => void;
39
- handleViewLess: () => void;
40
- handleScrollLoad: () => void;
41
- actualCurrentPage: number;
42
- }
43
- export declare const useListState: ({ externalCurrentPage, tabItems, defaultPageSize, onLoadData, }: UseListStateProps) => UseListStateReturn;