@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,33 +0,0 @@
1
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
- import React, { useState } from 'react';
8
- import { Icon } from '@pisell/materials';
9
- import { locales } from '@pisell/utils';
10
- import "./index.less";
11
- import { PREFIX } from "../../status";
12
- var CardMoreText = function CardMoreText(props) {
13
- var className = props.className,
14
- onChange = props.onChange;
15
- var _useState = useState(false),
16
- _useState2 = _slicedToArray(_useState, 2),
17
- isFold = _useState2[0],
18
- setIsFold = _useState2[1];
19
- var handleClick = function handleClick() {
20
- setIsFold(!isFold);
21
- onChange(!isFold);
22
- };
23
- return /*#__PURE__*/React.createElement("div", {
24
- className: "".concat(PREFIX, "__card-more-text-wrap ").concat(className)
25
- }, /*#__PURE__*/React.createElement("div", {
26
- className: "".concat(PREFIX, "__card-more-text-wrap-content"),
27
- onClick: handleClick
28
- }, /*#__PURE__*/React.createElement("span", null, isFold ? locales.getText('pisell2.sku-card.view-more') : locales.getText('pisell2.sku-card.view-less')), /*#__PURE__*/React.createElement(Icon, {
29
- type: "DoubleLeftOutlined",
30
- className: "".concat(PREFIX, "__card-more-text-wrap-content-icon ").concat(isFold ? 'is-unfold' : 'is-fold')
31
- })));
32
- };
33
- export default CardMoreText;
@@ -1,30 +0,0 @@
1
- .pisell-product-sku__card-more-text-wrap {
2
- color: #1570ef;
3
- font-size: 14px;
4
- font-weight: 400;
5
- line-height: 20px;
6
- word-wrap: break-word;
7
- width: max-content;
8
-
9
- &-content {
10
- display: flex;
11
- align-items: center;
12
- justify-content: center;
13
- gap: 4px;
14
- cursor: pointer;
15
- user-select: none;
16
- &-icon {
17
- font-size: 16px;
18
- // 给当前点击之后变动的icon添加过渡效果
19
- transition: all 0.3s ease-in-out;
20
- }
21
-
22
- .is-fold {
23
- transform: rotate(90deg);
24
- }
25
-
26
- .is-unfold {
27
- transform: rotate(-90deg);
28
- }
29
- }
30
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { ProductCardConfig } from '../../type';
3
- import './index.less';
4
- declare const CardWrapper: (props: ProductCardConfig) => JSX.Element;
5
- export default CardWrapper;
@@ -1,75 +0,0 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
- import React, { useMemo } from 'react';
8
- import classNames from 'classnames';
9
- import { CardPro } from '@pisell/materials';
10
- import { PREFIX } from "../../status";
11
- import Action from "../Action";
12
- import TooltipTags from "../TooltipTags";
13
- import CardMask from "../CardMask";
14
- import "./index.less";
15
- var CardWrapper = function CardWrapper(props) {
16
- var children = props.children,
17
- className = props.className,
18
- style = props.style,
19
- skuCardConfig = props.skuCardConfig,
20
- skuActionConfig = props.skuActionConfig,
21
- skuStatusOverlayConfig = props.skuStatusOverlayConfig,
22
- dataSource = props.dataSource,
23
- onCardClick = props.onCardClick,
24
- isSelected = props.isSelected;
25
- var _ref = skuCardConfig || {},
26
- paddingX = _ref.paddingX,
27
- paddingY = _ref.paddingY,
28
- background = _ref.background,
29
- marginY = _ref.marginY,
30
- marginX = _ref.marginX,
31
- radius = _ref.radius,
32
- borderWidth = _ref.borderWidth,
33
- borderColor = _ref.borderColor,
34
- isBorderVisible = _ref.isBorderVisible,
35
- layoutDirection = _ref.layoutDirection;
36
- var _ref2 = skuActionConfig || {},
37
- method = _ref2.method;
38
- var finalStyle = useMemo(function () {
39
- return _objectSpread(_objectSpread({}, style), {}, {
40
- backgroundColor: background,
41
- padding: "".concat(paddingY, "px ").concat(paddingX, "px"),
42
- margin: "".concat(marginY, "px ").concat(marginX, "px"),
43
- borderRadius: radius,
44
- border: isBorderVisible ? "".concat(borderWidth, "px solid ").concat(borderColor) : 'none'
45
- });
46
- }, [style, paddingX, paddingY, borderWidth, borderColor, isBorderVisible, radius, background, marginX, marginY]);
47
- return /*#__PURE__*/React.createElement("div", {
48
- className: classNames("".concat(PREFIX, "__card-wrapper"), (skuStatusOverlayConfig === null || skuStatusOverlayConfig === void 0 ? void 0 : skuStatusOverlayConfig.isOpen) && "".concat(PREFIX, "__card-wrapper-overlay"), className),
49
- onClick: function onClick(e) {
50
- e.stopPropagation();
51
- onCardClick === null || onCardClick === void 0 || onCardClick(dataSource);
52
- }
53
- }, /*#__PURE__*/React.createElement(CardPro, {
54
- isMedia: false,
55
- isShowHead: false,
56
- isShowFooter: false,
57
- className: classNames("".concat(PREFIX, "__card-wrapper-card"), isSelected && "".concat(PREFIX, "__card-wrapper-selected")),
58
- style: finalStyle
59
- }, /*#__PURE__*/React.createElement("div", {
60
- className: "".concat(PREFIX, "__card-wrapper-children")
61
- }, children), /*#__PURE__*/React.createElement(CardMask, {
62
- props: skuStatusOverlayConfig || {}
63
- }), layoutDirection === 'column' && method !== 'button' ? /*#__PURE__*/React.createElement("div", {
64
- className: "".concat(PREFIX, "__card-wrapper-action"),
65
- style: {
66
- bottom: paddingY,
67
- right: paddingX
68
- }
69
- }, /*#__PURE__*/React.createElement(Action, {
70
- props: props
71
- })) : null, /*#__PURE__*/React.createElement(TooltipTags, {
72
- props: props
73
- })));
74
- };
75
- export default CardWrapper;
@@ -1,46 +0,0 @@
1
- .pisell-product-sku__card-wrapper {
2
- box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.06);
3
-
4
- .pisell-product-sku__card-wrapper-card {
5
- user-select: none;
6
- position: relative;
7
- overflow: hidden;
8
- align-items: center;
9
- box-sizing: border-box;
10
- cursor: pointer;
11
- border: 2px solid transparent !important; // 默认透明边框,避免选中时宽度变化
12
- .pisell-lowcode-card-body {
13
- padding: 0;
14
- border: none;
15
- width: 100%;
16
- .pisell-cardPro-content {
17
- overflow-y: hidden;
18
- margin-top: 0;
19
- width: 100%;
20
- }
21
- }
22
- }
23
-
24
- // 选中状态
25
- .pisell-product-sku__card-wrapper-selected {
26
- border: 2px solid var(--Primary-600, #7f56d9) !important;
27
- background: var(--Primary-100, #f4ebff) !important;
28
- }
29
-
30
- .pisell-product-sku__card-wrapper-children {
31
- width: 100%;
32
- height: 100%;
33
- display: flex;
34
- }
35
-
36
- .pisell-product-sku__card-wrapper-action {
37
- position: absolute;
38
- }
39
- }
40
-
41
- .pisell-product-sku__card-wrapper-overlay {
42
- .pisell-cardPro-wrap {
43
- cursor: not-allowed;
44
- user-select: none;
45
- }
46
- }
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { ProductCardConfig } from '../../type';
3
- import './index.less';
4
- declare const Countdown: ({ props }: {
5
- props: ProductCardConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
7
- export default Countdown;
@@ -1,39 +0,0 @@
1
- import React, { useMemo } from 'react';
2
- import { Statistic as AntdStatistic } from 'antd';
3
- import { locales } from '@pisell/utils';
4
- import { PREFIX } from "../../status";
5
- import "./index.less";
6
- var AntdCountdown = AntdStatistic.Countdown;
7
- var Countdown = function Countdown(_ref) {
8
- var props = _ref.props;
9
- var dataSource = props.dataSource,
10
- skuTextConfig = props.skuTextConfig;
11
- var _ref2 = (skuTextConfig === null || skuTextConfig === void 0 ? void 0 : skuTextConfig.skuCountdownConfig) || {},
12
- isOpen = _ref2.isOpen,
13
- fontSize = _ref2.fontSize,
14
- fontWeight = _ref2.fontWeight,
15
- color = _ref2.color,
16
- customText = _ref2.customText;
17
-
18
- // 不开启
19
- if (!isOpen) return null;
20
-
21
- // 自定义文本
22
- if (customText) return customText;
23
- var finalStyle = useMemo(function () {
24
- return {
25
- fontSize: fontSize,
26
- fontWeight: fontWeight,
27
- color: color
28
- };
29
- }, [fontSize, fontWeight, color]);
30
- return dataSource !== null && dataSource !== void 0 && dataSource.countdown ? /*#__PURE__*/React.createElement("div", {
31
- className: "".concat(PREFIX, "__card-countdown"),
32
- style: finalStyle
33
- }, /*#__PURE__*/React.createElement("span", null, locales.getText('pisell2.sku-card.time.remaining'), ": "), /*#__PURE__*/React.createElement(AntdCountdown, {
34
- value: dataSource === null || dataSource === void 0 ? void 0 : dataSource.countdown,
35
- format: "HH:mm:ss",
36
- valueStyle: finalStyle
37
- })) : null;
38
- };
39
- export default Countdown;
@@ -1,9 +0,0 @@
1
- .pisell-product-sku__card-countdown {
2
- display: flex;
3
- align-items: center;
4
- color: #d92d20;
5
- font-size: 14px;
6
- font-weight: 500;
7
- line-height: 20px;
8
- word-wrap: break-word;
9
- }
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { ProductCardConfig } from '../../type';
3
- import './index.less';
4
- declare const Cover: ({ props }: {
5
- props: ProductCardConfig;
6
- }) => JSX.Element | null;
7
- export default Cover;
@@ -1,53 +0,0 @@
1
- import React, { useMemo } from 'react';
2
- import { PREFIX } from "../../status";
3
- import { image as imageAli } from '@pisell/utils';
4
- import Favorite from "../Favorite";
5
- import "./index.less";
6
- var Cover = function Cover(_ref) {
7
- var props = _ref.props;
8
- var dataSource = props.dataSource,
9
- skuImageConfig = props.skuImageConfig;
10
- var _ref2 = skuImageConfig || {},
11
- isCover = _ref2.isCover,
12
- width = _ref2.width,
13
- height = _ref2.height,
14
- radius = _ref2.radius,
15
- isTextFallback = _ref2.isTextFallback,
16
- background = _ref2.background;
17
- if (!isCover) return null;
18
-
19
- // 如果图片为空,且不展示文本,则不展示
20
- if (!(dataSource !== null && dataSource !== void 0 && dataSource.cover) && !isTextFallback) return null;
21
- var getTextCover = function getTextCover(title) {
22
- if (!(dataSource !== null && dataSource !== void 0 && dataSource.title)) return '';
23
- var cleanTitle = title.trim();
24
- if (cleanTitle.length === 0) return '';
25
- return cleanTitle.substring(0, 2).toUpperCase();
26
- };
27
- var finalStyle = useMemo(function () {
28
- return {
29
- borderRadius: radius,
30
- background: background
31
- };
32
- }, [radius, background]);
33
- return /*#__PURE__*/React.createElement("div", {
34
- className: "".concat(PREFIX, "__card-cover")
35
- }, /*#__PURE__*/React.createElement("div", {
36
- className: "".concat(PREFIX, "__card-cover-image"),
37
- style: {
38
- width: "".concat(width) || 'auto',
39
- height: "".concat(height) || 'auto'
40
- }
41
- }, dataSource !== null && dataSource !== void 0 && dataSource.cover ? /*#__PURE__*/React.createElement("img", {
42
- loading: "lazy",
43
- src: imageAli.ali(dataSource === null || dataSource === void 0 ? void 0 : dataSource.cover, 360),
44
- alt: dataSource === null || dataSource === void 0 ? void 0 : dataSource.title,
45
- style: finalStyle
46
- }) : /*#__PURE__*/React.createElement("div", {
47
- className: "".concat(PREFIX, "__card-cover-text"),
48
- style: finalStyle
49
- }, getTextCover((dataSource === null || dataSource === void 0 ? void 0 : dataSource.title) || '')), /*#__PURE__*/React.createElement(Favorite, {
50
- props: props
51
- })));
52
- };
53
- export default Cover;
@@ -1,31 +0,0 @@
1
- .pisell-product-sku__card-cover {
2
- .pisell-product-sku__card-cover-image {
3
- flex-shrink: 0;
4
- position: relative;
5
-
6
- img {
7
- border-radius: 8px;
8
- background: lightgray 50% / cover no-repeat;
9
- width: 100%;
10
- height: 100%;
11
- object-fit: cover;
12
- }
13
-
14
- .pisell-product-sku__card-cover-text {
15
- width: 100%;
16
- height: 100%;
17
- display: flex;
18
- align-items: center;
19
- justify-content: center;
20
- background: #dedede;
21
- color: #6c6c6c;
22
- font-size: 60px;
23
- font-weight: 600;
24
- text-align: center;
25
- line-height: 1;
26
- letter-spacing: 1px;
27
- border-radius: 8px;
28
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
29
- }
30
- }
31
- }
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { ProductCardConfig } from '../../type';
3
- declare const Duration: ({ props }: {
4
- props: ProductCardConfig;
5
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
- export default Duration;
@@ -1,31 +0,0 @@
1
- import React, { useMemo } from 'react';
2
- import { PREFIX } from "../../status";
3
- var Duration = function Duration(_ref) {
4
- var props = _ref.props;
5
- var dataSource = props.dataSource,
6
- skuTextConfig = props.skuTextConfig;
7
- var _ref2 = (skuTextConfig === null || skuTextConfig === void 0 ? void 0 : skuTextConfig.skuDurationConfig) || {},
8
- isOpen = _ref2.isOpen,
9
- fontSize = _ref2.fontSize,
10
- fontWeight = _ref2.fontWeight,
11
- color = _ref2.color,
12
- customText = _ref2.customText;
13
-
14
- // 不开启
15
- if (!isOpen) return null;
16
-
17
- // 自定义文本
18
- if (customText) return customText;
19
- var finalStyle = useMemo(function () {
20
- return {
21
- fontSize: fontSize,
22
- fontWeight: fontWeight,
23
- color: color
24
- };
25
- }, [fontSize, fontWeight, color]);
26
- return dataSource !== null && dataSource !== void 0 && dataSource.duration ? /*#__PURE__*/React.createElement("div", {
27
- className: "".concat(PREFIX, "__card-duration"),
28
- style: finalStyle
29
- }, (dataSource === null || dataSource === void 0 ? void 0 : dataSource.duration) || '') : null;
30
- };
31
- export default Duration;
@@ -1,3 +0,0 @@
1
- .pisell-product-sku__card-duration {
2
- line-height: 20px;
3
- }
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- import { ProductCardConfig } from '../../type';
4
- declare const Favorite: ({ props }: {
5
- props: ProductCardConfig;
6
- }) => JSX.Element | null;
7
- export default Favorite;
@@ -1,58 +0,0 @@
1
- import React, { useMemo } from 'react';
2
- import { Icon } from '@pisell/materials';
3
- import "./index.less";
4
- import { PREFIX } from "../../status";
5
- var PADDING = 4;
6
- var Favorite = function Favorite(_ref) {
7
- var props = _ref.props;
8
- var skuExtraConfig = props.skuExtraConfig,
9
- className = props.className,
10
- dataSource = props.dataSource,
11
- onFavorite = props.onFavorite;
12
- var _ref2 = skuExtraConfig || {},
13
- isOpen = _ref2.isOpen,
14
- favoritePosition = _ref2.favoritePosition,
15
- favoriteIcon = _ref2.favoriteIcon,
16
- favoriteBackground = _ref2.favoriteBackground,
17
- favoritePaddingY = _ref2.favoritePaddingY,
18
- favoritePaddingX = _ref2.favoritePaddingX,
19
- favoriteRadius = _ref2.favoriteRadius,
20
- isFavoriteBorder = _ref2.isFavoriteBorder,
21
- favoriteBorderWidth = _ref2.favoriteBorderWidth,
22
- favoriteBorderColor = _ref2.favoriteBorderColor,
23
- isFavorite = _ref2.isFavorite;
24
-
25
- // 不开启或不开启收藏按钮
26
- if (!isOpen || !isFavorite) return null;
27
- var finalStyle = useMemo(function () {
28
- var isLeft = favoritePosition === 'left_top' || favoritePosition === 'left_bottom';
29
- var isRight = favoritePosition === 'right_top' || favoritePosition === 'right_bottom';
30
- var isTop = favoritePosition === 'left_top' || favoritePosition === 'right_top';
31
- var isBottom = favoritePosition === 'left_bottom' || favoritePosition === 'right_bottom';
32
- return {
33
- background: favoriteBackground,
34
- padding: "".concat(favoritePaddingY, "px ").concat(favoritePaddingX, "px"),
35
- border: isFavoriteBorder ? "".concat(favoriteBorderWidth, "px solid ").concat(favoriteBorderColor) : 'none',
36
- borderRadius: "".concat(favoriteRadius, "px"),
37
- top: isTop ? PADDING : 'auto',
38
- bottom: isBottom ? PADDING : 'auto',
39
- left: isLeft ? PADDING : 'auto',
40
- right: isRight ? PADDING : 'auto'
41
- };
42
- }, [favoriteBackground, favoritePaddingX, favoritePaddingY, isFavoriteBorder, favoriteBorderWidth, favoriteBorderColor, favoriteRadius, favoritePosition]);
43
- return /*#__PURE__*/React.createElement("div", {
44
- className: "".concat(PREFIX, "__card-favorite ").concat(className),
45
- style: finalStyle,
46
- onClick: function onClick(e) {
47
- e.stopPropagation();
48
- onFavorite === null || onFavorite === void 0 || onFavorite(dataSource);
49
- }
50
- }, favoriteIcon || /*#__PURE__*/React.createElement(Icon, {
51
- type: "HeartFilled",
52
- size: 20,
53
- rotate: 0,
54
- spin: false,
55
- color: "#DC6803"
56
- }));
57
- };
58
- export default Favorite;
@@ -1,11 +0,0 @@
1
- .pisell-product-sku__card-favorite {
2
- position: absolute;
3
- line-height: 20px;
4
- display: flex;
5
- flex-direction: column;
6
- align-items: center;
7
- justify-content: center;
8
- cursor: pointer;
9
- min-width: 20px;
10
- min-height: 20px;
11
- }
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { ProductCardConfig } from '../../type';
3
- import './index.less';
4
- declare const MemberPrice: ({ props }: {
5
- props: ProductCardConfig;
6
- }) => string | number | true | React.ReactFragment | JSX.Element | null;
7
- export default MemberPrice;
@@ -1,85 +0,0 @@
1
- import React, { useMemo } from 'react';
2
- import { locales } from '@pisell/utils';
3
- import { PisellTags, Icon } from '@pisell/materials';
4
- import PisellPriceText from "../../../../components/pisellPriceText";
5
- import { PREFIX } from "../../status";
6
- import "./index.less";
7
- var MemberPrice = function MemberPrice(_ref) {
8
- var props = _ref.props;
9
- var dataSource = props.dataSource,
10
- skuTextConfig = props.skuTextConfig;
11
- var _ref2 = (skuTextConfig === null || skuTextConfig === void 0 ? void 0 : skuTextConfig.skuMemberPriceConfig) || {},
12
- isOpen = _ref2.isOpen,
13
- isMemberPrice = _ref2.isMemberPrice,
14
- isIndicator = _ref2.isIndicator,
15
- isIndicatorBorder = _ref2.isIndicatorBorder,
16
- indicatorBackground = _ref2.indicatorBackground,
17
- indicatorPaddingY = _ref2.indicatorPaddingY,
18
- indicatorPaddingX = _ref2.indicatorPaddingX,
19
- indicatorMarginX = _ref2.indicatorMarginX,
20
- indicatorRadius = _ref2.indicatorRadius,
21
- indicatorBorderWidth = _ref2.indicatorBorderWidth,
22
- indicatorBorderColor = _ref2.indicatorBorderColor,
23
- indicatorFontSize = _ref2.indicatorFontSize,
24
- indicatorFontWeight = _ref2.indicatorFontWeight,
25
- indicatorColor = _ref2.indicatorColor,
26
- fontSize = _ref2.fontSize,
27
- fontWeight = _ref2.fontWeight,
28
- color = _ref2.color,
29
- indicatorIcon = _ref2.indicatorIcon,
30
- customText = _ref2.customText;
31
-
32
- // 不开启
33
- if (!isOpen) return null;
34
-
35
- // 自定义文本
36
- if (customText) return customText;
37
- var memberPriceStyle = useMemo(function () {
38
- return {
39
- fontSize: fontSize,
40
- fontWeight: fontWeight,
41
- color: color
42
- };
43
- }, [fontSize, fontWeight, color]);
44
-
45
- /**
46
- * @title: 标识样式
47
- * @description:
48
- * @param {*} useMemo
49
- * @return {*}
50
- * @Author: WangHan
51
- * @Date: 2025-09-08 11:50
52
- */
53
- var indicatorStyle = useMemo(function () {
54
- return {
55
- backgroundColor: indicatorBackground,
56
- padding: "".concat(indicatorPaddingY, "px ").concat(indicatorPaddingX, "px"),
57
- margin: "0 ".concat(indicatorMarginX, "px"),
58
- border: isIndicatorBorder ? "".concat(indicatorBorderWidth, "px solid ").concat(indicatorBorderColor) : 'none',
59
- borderRadius: indicatorRadius,
60
- fontSize: indicatorFontSize,
61
- fontWeight: indicatorFontWeight,
62
- color: indicatorColor
63
- };
64
- }, [indicatorBackground, indicatorPaddingY, indicatorPaddingX, indicatorMarginX, indicatorRadius, indicatorBorderWidth, indicatorBorderColor, indicatorFontSize, indicatorFontWeight, indicatorColor, isIndicatorBorder]);
65
- return /*#__PURE__*/React.createElement("div", {
66
- className: "".concat(PREFIX, "__card-member-price")
67
- }, isMemberPrice ? /*#__PURE__*/React.createElement("div", {
68
- className: "".concat(PREFIX, "__card-member-price-text"),
69
- style: memberPriceStyle
70
- }, /*#__PURE__*/React.createElement(PisellPriceText, {
71
- value: (dataSource === null || dataSource === void 0 ? void 0 : dataSource.member_price) || 0
72
- })) : null, isIndicator ? /*#__PURE__*/React.createElement(PisellTags, {
73
- type: "pill_color",
74
- style: indicatorStyle
75
- }, /*#__PURE__*/React.createElement("div", {
76
- className: "".concat(PREFIX, "__card-member-price-tag")
77
- }, indicatorIcon ? indicatorIcon : /*#__PURE__*/React.createElement(Icon, {
78
- type: "pisell2-check-verified-02",
79
- size: 12,
80
- rotate: 0,
81
- spin: false,
82
- color: "#CA8504"
83
- }), /*#__PURE__*/React.createElement("span", null, locales.getText('pisell2.sku-card.member-price')))) : null);
84
- };
85
- export default MemberPrice;
@@ -1,24 +0,0 @@
1
- .pisell-product-sku__card-member-price {
2
- display: flex;
3
- align-items: center;
4
- gap: 4px;
5
-
6
- .pisell-product-sku__card-member-price-text {
7
- color: #079455;
8
- font-size: 18px;
9
- font-weight: 600;
10
- line-height: 28px;
11
- word-wrap: break-word;
12
- }
13
-
14
- .pisell-product-sku__card-member-price-tag {
15
- // color: white;
16
- // font-size: 12px;
17
- // font-weight: 400;
18
- // line-height: 18px;
19
- word-wrap: break-word;
20
- display: flex;
21
- align-items: center;
22
- gap: 2px;
23
- }
24
- }
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { ProductCardConfig } from '../../type';
3
- import './index.less';
4
- declare const Price: ({ props }: {
5
- props: ProductCardConfig;
6
- }) => JSX.Element | null;
7
- export default Price;