@pisell/private-materials 3.3.63 → 3.3.64

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 (299) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +5 -5
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +5 -5
  9. package/es/businessModel/SalesModel/index.d.ts +1 -0
  10. package/es/components/Sales/Summary/utils.d.ts +1 -1
  11. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Voucher/index.less +0 -2
  13. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  14. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  15. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  16. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  17. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  18. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  19. package/es/components/booking/components/voucher/index.less +0 -1
  20. package/es/components/booking/deposit/index.d.ts +1 -0
  21. package/es/components/booking/forms/single/index.d.ts +1 -0
  22. package/es/components/booking/forms/table/index.d.ts +1 -0
  23. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  24. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  25. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  26. package/es/components/booking/info/date/index.d.ts +1 -0
  27. package/es/components/booking/info/header/index.d.ts +1 -0
  28. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  29. package/es/components/booking/info/index.d.ts +1 -0
  30. package/es/components/booking/info/notes/index.d.ts +1 -0
  31. package/es/components/booking/info/service/Lists.d.ts +1 -0
  32. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  33. package/es/components/booking/info/service/like/index.d.ts +1 -0
  34. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  35. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  36. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  37. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  38. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  39. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  40. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  41. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  42. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  43. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  44. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  45. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  46. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  47. package/es/components/booking/utils.d.ts +2 -2
  48. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  49. package/es/components/eftpos/form/index.d.ts +1 -0
  50. package/es/components/eftpos/group/index.d.ts +1 -0
  51. package/es/components/eftpos/hooks.d.ts +1 -0
  52. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  53. package/es/components/eftpos/icon/device.d.ts +1 -0
  54. package/es/components/eftpos/index.d.ts +1 -0
  55. package/es/components/eftpos/pos.d.ts +1 -0
  56. package/es/components/eftpos/receipt/index.d.ts +1 -0
  57. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  58. package/es/components/eftposPay/amount.d.ts +2 -1
  59. package/es/components/eftposPay/app.d.ts +1 -0
  60. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  61. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  62. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  63. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  64. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  65. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  66. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  67. package/es/components/eftposPay/device.d.ts +2 -1
  68. package/es/components/eftposPay/hooks.d.ts +1 -1
  69. package/es/components/eftposPay/payo/config.d.ts +1 -0
  70. package/es/components/eftposPay/store/index.d.ts +4 -4
  71. package/es/components/eftposPay/tip.d.ts +1 -0
  72. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  73. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  74. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  75. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  76. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  77. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  78. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
  79. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  80. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  81. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
  82. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  83. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  84. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  85. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  86. package/es/components/eventBooking/components/timeResourceSelector/index.less +0 -1
  87. package/es/components/eventBooking/index.d.ts +1 -0
  88. package/es/components/login/index.d.ts +1 -0
  89. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  90. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  91. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  92. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  93. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  94. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  95. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  96. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  97. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  98. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  99. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  100. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  101. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  102. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  103. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  104. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  105. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  106. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  107. package/es/components/productExtension/index.d.ts +1 -0
  108. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  109. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  110. package/es/components/schedules/calendar/index.d.ts +1 -0
  111. package/es/components/schedules/calendar/index.less +158 -152
  112. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  113. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  114. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  115. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  116. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  117. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  118. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  119. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  120. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  121. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  122. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  123. package/es/components/schedules/products/index.d.ts +1 -0
  124. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  125. package/es/components/schedules/products/list/index.d.ts +1 -0
  126. package/es/components/schedules/resources/index.d.ts +1 -0
  127. package/es/components/schedules/resources/list/index.d.ts +1 -0
  128. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  129. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  130. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  131. package/es/components/schedules/schedules/index.d.ts +1 -0
  132. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  133. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  134. package/es/components/shoppingCart/index.d.ts +1 -0
  135. package/es/components/taxSelect/index.d.ts +1 -0
  136. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  137. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  138. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  139. package/es/components/ticketBooking/index.d.ts +1 -0
  140. package/es/components/wallet/DiscountCard/index.less +0 -1
  141. package/es/components/wallet/PointCard/index.less +0 -1
  142. package/es/components/wallet/RechargeableCard/index.less +5 -9
  143. package/es/components/wallet/Voucher/index.less +0 -1
  144. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  145. package/es/components/wallet/index.less +0 -4
  146. package/es/components/walletList/index.js +55 -7
  147. package/es/components/walletList/index.less +17 -15
  148. package/es/components/walletList/locales.d.ts +18 -0
  149. package/es/components/walletList/locales.js +17 -0
  150. package/es/components/walletList/serve.d.ts +8 -0
  151. package/es/components/walletList/serve.js +38 -0
  152. package/es/components/walletList/status.d.ts +38 -0
  153. package/es/components/walletList/status.js +47 -0
  154. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  155. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  156. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  157. package/lib/components/appointmentBooking/components/Voucher/index.less +0 -2
  158. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  159. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  160. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  161. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  162. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  163. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  164. package/lib/components/booking/components/voucher/index.less +0 -1
  165. package/lib/components/booking/deposit/index.d.ts +1 -0
  166. package/lib/components/booking/forms/single/index.d.ts +1 -0
  167. package/lib/components/booking/forms/table/index.d.ts +1 -0
  168. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  169. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  170. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  171. package/lib/components/booking/info/date/index.d.ts +1 -0
  172. package/lib/components/booking/info/header/index.d.ts +1 -0
  173. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  174. package/lib/components/booking/info/index.d.ts +1 -0
  175. package/lib/components/booking/info/notes/index.d.ts +1 -0
  176. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  177. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  178. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  179. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  180. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  181. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  182. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  183. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  184. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  185. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  186. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  187. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  188. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  189. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  190. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  191. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  192. package/lib/components/booking/utils.d.ts +2 -2
  193. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  194. package/lib/components/eftpos/form/index.d.ts +1 -0
  195. package/lib/components/eftpos/group/index.d.ts +1 -0
  196. package/lib/components/eftpos/hooks.d.ts +1 -0
  197. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  198. package/lib/components/eftpos/icon/device.d.ts +1 -0
  199. package/lib/components/eftpos/index.d.ts +1 -0
  200. package/lib/components/eftpos/pos.d.ts +1 -0
  201. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  202. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  203. package/lib/components/eftposPay/amount.d.ts +2 -1
  204. package/lib/components/eftposPay/app.d.ts +1 -0
  205. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  206. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  207. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  208. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  209. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  210. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  211. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  212. package/lib/components/eftposPay/device.d.ts +2 -1
  213. package/lib/components/eftposPay/hooks.d.ts +1 -1
  214. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  215. package/lib/components/eftposPay/store/index.d.ts +4 -4
  216. package/lib/components/eftposPay/tip.d.ts +1 -0
  217. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  218. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  219. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  220. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  221. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  222. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  223. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
  224. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  225. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  226. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
  227. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  228. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  229. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  230. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  231. package/lib/components/eventBooking/components/timeResourceSelector/index.less +0 -1
  232. package/lib/components/eventBooking/index.d.ts +1 -0
  233. package/lib/components/login/index.d.ts +1 -0
  234. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  235. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  236. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  237. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  238. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  239. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  240. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  241. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  242. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  243. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  244. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  245. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  246. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  247. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  248. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  249. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  250. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  251. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  252. package/lib/components/productExtension/index.d.ts +1 -0
  253. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  254. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  255. package/lib/components/schedules/calendar/index.d.ts +1 -0
  256. package/lib/components/schedules/calendar/index.less +158 -152
  257. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  258. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  259. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  260. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  261. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  262. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  263. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  264. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  265. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  266. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  267. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  268. package/lib/components/schedules/products/index.d.ts +1 -0
  269. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  270. package/lib/components/schedules/products/list/index.d.ts +1 -0
  271. package/lib/components/schedules/resources/index.d.ts +1 -0
  272. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  273. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  274. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  275. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  276. package/lib/components/schedules/schedules/index.d.ts +1 -0
  277. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  278. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  279. package/lib/components/shoppingCart/index.d.ts +1 -0
  280. package/lib/components/taxSelect/index.d.ts +1 -0
  281. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  282. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  283. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  284. package/lib/components/ticketBooking/index.d.ts +1 -0
  285. package/lib/components/wallet/DiscountCard/index.less +0 -1
  286. package/lib/components/wallet/PointCard/index.less +0 -1
  287. package/lib/components/wallet/RechargeableCard/index.less +5 -9
  288. package/lib/components/wallet/Voucher/index.less +0 -1
  289. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  290. package/lib/components/wallet/index.less +0 -4
  291. package/lib/components/walletList/index.js +42 -14
  292. package/lib/components/walletList/index.less +17 -15
  293. package/lib/components/walletList/locales.d.ts +18 -0
  294. package/lib/components/walletList/locales.js +41 -0
  295. package/lib/components/walletList/serve.d.ts +8 -0
  296. package/lib/components/walletList/serve.js +15 -2
  297. package/lib/components/walletList/status.d.ts +38 -0
  298. package/lib/components/walletList/status.js +66 -0
  299. package/package.json +3 -3
@@ -40,6 +40,8 @@ var import_useEngineContext = __toESM(require("./../../hooks/useEngineContext"))
40
40
  var import_serve = require("./serve");
41
41
  var import_utils = require("@pisell/utils");
42
42
  var import_utils2 = require("./../../utils");
43
+ var import_status = require("./status");
44
+ var import_locales = __toESM(require("./locales"));
43
45
  var import_index = require("./index.less");
44
46
  var import_classnames = __toESM(require("classnames"));
45
47
  var import_types = require("./types");
@@ -98,7 +100,7 @@ var DEFAULT_WALLET_CARD = {
98
100
  original: "Level",
99
101
  "zh-CN": "Level",
100
102
  "zh-HK": "Level",
101
- "en": "Level"
103
+ en: "Level"
102
104
  },
103
105
  metadata: {
104
106
  barcodetype: "barCode",
@@ -121,7 +123,7 @@ var WalletList = (0, import_model.Provider)((props) => {
121
123
  const context = (0, import_useEngineContext.default)();
122
124
  const { constants, utils } = context.appHelper || {};
123
125
  const dvaStore = (_b = (_a = utils == null ? void 0 : utils.getStore) == null ? void 0 : _a.call(utils)) == null ? void 0 : _b.getState();
124
- import_utils.locales.init({}, ((_c = dvaStore == null ? void 0 : dvaStore.core) == null ? void 0 : _c.translateLocale) || "en");
126
+ import_utils.locales.init(import_locales.default, ((_c = dvaStore == null ? void 0 : dvaStore.core) == null ? void 0 : _c.translateLocale) || "en");
125
127
  const isMountedRef = (0, import_react.useRef)(true);
126
128
  const carouselRef = (0, import_react.useRef)(null);
127
129
  const { store } = utils;
@@ -129,23 +131,32 @@ var WalletList = (0, import_model.Provider)((props) => {
129
131
  const prevButtonRef = (0, import_react.useRef)(null);
130
132
  const nextButtonRef = (0, import_react.useRef)(null);
131
133
  const [currentIndex, setCurrentIndex] = (0, import_react.useState)(0);
134
+ const [walletShopList, setWalletShopList] = (0, import_react.useState)([]);
132
135
  const requestIdRef = (0, import_react.useRef)("");
136
+ const pubsub = utils == null ? void 0 : utils.pubsub;
133
137
  const isUserLoggedIn = (0, import_react.useMemo)(() => {
134
138
  var _a2, _b2;
135
139
  return !!((_b2 = (_a2 = utils == null ? void 0 : utils.token) == null ? void 0 : _a2.get) == null ? void 0 : _b2.call(_a2)) || false;
136
140
  }, [store]);
137
- const {
138
- list = [],
139
- error,
140
- authError,
141
- hasAttempted,
142
- isLoggedIn
143
- } = state;
141
+ const { list = [], error, authError, hasAttempted, isLoggedIn } = state;
144
142
  (0, import_react.useEffect)(() => {
145
143
  if (utils == null ? void 0 : utils.request) {
146
144
  import_utils2.request.setRequest(utils.request);
147
145
  }
148
146
  }, [utils == null ? void 0 : utils.request]);
147
+ (0, import_react.useEffect)(() => {
148
+ if (isUserLoggedIn) {
149
+ (0, import_serve.getWalletShopList)({ skip: 1, num: 50 }).then((res) => {
150
+ pubsub.publish("wallet:shopList", res);
151
+ });
152
+ const subscription = pubsub.subscribe("wallet:shopList", (res) => {
153
+ setWalletShopList((res == null ? void 0 : res.list) || []);
154
+ });
155
+ return () => {
156
+ subscription.unsubscribe();
157
+ };
158
+ }
159
+ }, [isUserLoggedIn]);
149
160
  (0, import_react.useEffect)(() => {
150
161
  return () => {
151
162
  isMountedRef.current = false;
@@ -285,7 +296,7 @@ var WalletList = (0, import_model.Provider)((props) => {
285
296
  (0, import_serve.getWalletBalance)()
286
297
  ]);
287
298
  if (!isMountedRef.current || requestIdRef.current !== requestId) return;
288
- if (walletListData && walletListData.length > 0) {
299
+ if (walletListData) {
289
300
  try {
290
301
  saveToLocalStorage(STORAGE_KEY, walletListData);
291
302
  } catch (e) {
@@ -301,7 +312,8 @@ var WalletList = (0, import_model.Provider)((props) => {
301
312
  }
302
313
  if (!walletBalanceData || Array.isArray(walletListData) && walletListData.length === 0) {
303
314
  setTimeout(async () => {
304
- if (!isMountedRef.current || requestIdRef.current !== requestId) return;
315
+ if (!isMountedRef.current || requestIdRef.current !== requestId)
316
+ return;
305
317
  try {
306
318
  let retryBalanceData = walletBalanceData;
307
319
  let retryListData = walletListData;
@@ -311,7 +323,10 @@ var WalletList = (0, import_model.Provider)((props) => {
311
323
  try {
312
324
  saveToLocalStorage(STORAGE_KEY_BALANCE, retryBalanceData);
313
325
  } catch (e) {
314
- console.error("Error saving retry balance to localStorage:", e);
326
+ console.error(
327
+ "Error saving retry balance to localStorage:",
328
+ e
329
+ );
315
330
  }
316
331
  }
317
332
  }
@@ -469,11 +484,24 @@ var WalletList = (0, import_model.Provider)((props) => {
469
484
  const renderBalanceCard = (0, import_react.useCallback)((balance) => {
470
485
  return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-balance-card", key: balance.id }, /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-card-header" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-card-title" }, balance.name), /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-card-value" }, balance.value)), /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-card-content" }, balance.items && balance.items.map((item) => /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-item", key: item.key }, /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-item-label" }, item.label), /* @__PURE__ */ import_react.default.createElement("div", { className: "balance-item-value" }, item.value)))));
471
486
  }, []);
487
+ const isShowGuide = (0, import_react.useMemo)(() => {
488
+ var _a2;
489
+ if (((_a2 = globalState == null ? void 0 : globalState.walletGuideConfig) == null ? void 0 : _a2.show) === 0) return false;
490
+ return (walletShopList == null ? void 0 : walletShopList.length) > 0 && !(list == null ? void 0 : list.length);
491
+ }, [walletShopList, list, globalState == null ? void 0 : globalState.walletGuideConfig]);
472
492
  const renderContent = () => {
473
- if (list.length === 0) {
493
+ if (list.length === 0 && !isShowGuide) {
474
494
  return null;
475
495
  }
476
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-list-container" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-content" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Carousel, { ref: carouselRef, ...carouselProps }, list.map((item) => renderWalletCard(item)))), list && list.length > 1 && isUserLoggedIn && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-navigation" }, /* @__PURE__ */ import_react.default.createElement(
496
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-list-container" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-content" }, isShowGuide ? /* @__PURE__ */ import_react.default.createElement(
497
+ import_materials.WalletCard,
498
+ {
499
+ key: (0, import_utils.getUniqueId)(),
500
+ isGuide: true,
501
+ ...globalState,
502
+ walletGuideConfig: (globalState == null ? void 0 : globalState.walletGuideConfig) || (0, import_status.defaultWalletGuideConfig)()
503
+ }
504
+ ) : /* @__PURE__ */ import_react.default.createElement(import_materials.Carousel, { ref: carouselRef, ...carouselProps }, list.map((item) => renderWalletCard(item)))), list && list.length > 1 && isUserLoggedIn && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-navigation" }, /* @__PURE__ */ import_react.default.createElement(
477
505
  "div",
478
506
  {
479
507
  className: `wallet-nav-button wallet-prev ${currentIndex === 0 ? "disabled" : ""}`,
@@ -31,7 +31,7 @@
31
31
  opacity: 1;
32
32
  }
33
33
 
34
- >div {
34
+ > div {
35
35
  height: 100%;
36
36
  margin: 0;
37
37
  padding: 0;
@@ -215,7 +215,7 @@
215
215
  cursor: pointer;
216
216
  width: 44px;
217
217
  height: 44px;
218
- background-color: #FFFFFF;
218
+ background-color: #ffffff;
219
219
  border-radius: 50%;
220
220
  display: flex;
221
221
  padding: 10px;
@@ -224,9 +224,10 @@
224
224
  justify-content: center;
225
225
  cursor: pointer;
226
226
  border-radius: 22px;
227
- background: rgba(255, 255, 255, 0.90);
227
+ background: rgba(255, 255, 255, 0.9);
228
228
  backdrop-filter: blur(4px);
229
- box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1), 0px 1px 3px rgba(16, 24, 40, 0.1);
229
+ box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
230
+ 0px 1px 3px rgba(16, 24, 40, 0.1);
230
231
  z-index: 10;
231
232
  position: relative;
232
233
  /* 确保相对定位 */
@@ -244,8 +245,9 @@
244
245
  }
245
246
 
246
247
  &:hover {
247
- background-color: #FFFFFF;
248
- box-shadow: 0px 3px 6px rgba(16, 24, 40, 0.15), 0px 2px 4px rgba(16, 24, 40, 0.1);
248
+ background-color: #ffffff;
249
+ box-shadow: 0px 3px 6px rgba(16, 24, 40, 0.15),
250
+ 0px 2px 4px rgba(16, 24, 40, 0.1);
249
251
  }
250
252
 
251
253
  &.disabled {
@@ -253,7 +255,8 @@
253
255
  opacity: 0.7;
254
256
 
255
257
  &:hover {
256
- box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1), 0px 1px 3px rgba(16, 24, 40, 0.1);
258
+ box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
259
+ 0px 1px 3px rgba(16, 24, 40, 0.1);
257
260
  }
258
261
  }
259
262
 
@@ -269,17 +272,18 @@
269
272
  justify-content: center;
270
273
  padding: 12px;
271
274
  border-radius: 17px;
272
- background: rgba(255, 255, 255, 0.90);
275
+ background: rgba(255, 255, 255, 0.9);
273
276
  backdrop-filter: blur(4px);
274
277
  height: 34px;
275
278
  z-index: 100;
276
- box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1), 0px 1px 3px rgba(16, 24, 40, 0.1);
279
+ box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
280
+ 0px 1px 3px rgba(16, 24, 40, 0.1);
277
281
 
278
282
  .wallet-dot {
279
283
  width: 10px;
280
284
  height: 10px;
281
285
  border-radius: 50%;
282
- background-color: #F2F4F7;
286
+ background-color: #f2f4f7;
283
287
  margin: 0 8px;
284
288
  transition: all 0.3s ease;
285
289
 
@@ -287,7 +291,7 @@
287
291
  width: 8px;
288
292
  height: 8px;
289
293
  border-radius: 4px;
290
- background-color: #6941C6;
294
+ background-color: #6941c6;
291
295
  }
292
296
  }
293
297
  }
@@ -297,14 +301,13 @@
297
301
  display: flex;
298
302
  align-items: center;
299
303
  justify-content: center;
300
- color: #FFFFFF;
304
+ color: #ffffff;
301
305
  min-width: 70px;
302
306
  text-align: center;
303
307
 
304
308
  color: var(--Gray-500, #667085);
305
309
 
306
310
  /* Text xl/Semibold */
307
- font-family: Inter;
308
311
  font-size: 20px;
309
312
  font-style: normal;
310
313
  font-weight: 600;
@@ -345,7 +348,6 @@
345
348
  }
346
349
  }
347
350
 
348
-
349
351
  .pisell-lowcode__error {
350
352
  text-align: center;
351
353
  padding: 20px;
@@ -364,4 +366,4 @@
364
366
  .pisell-wallet-skeleton {
365
367
  padding: 16px;
366
368
  }
367
- }
369
+ }
@@ -0,0 +1,18 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.wallet.guide.title': string;
4
+ 'page.wallet.guide.subtitle': string;
5
+ 'page.wallet.guide.button': string;
6
+ };
7
+ 'zh-CN': {
8
+ 'page.wallet.guide.title': string;
9
+ 'page.wallet.guide.subtitle': string;
10
+ 'page.wallet.guide.button': string;
11
+ };
12
+ 'zh-HK': {
13
+ 'page.wallet.guide.title': string;
14
+ 'page.wallet.guide.subtitle': string;
15
+ 'page.wallet.guide.button': string;
16
+ };
17
+ };
18
+ export default _default;
@@ -0,0 +1,41 @@
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/walletList/locales.ts
20
+ var locales_exports = {};
21
+ __export(locales_exports, {
22
+ default: () => locales_default
23
+ });
24
+ module.exports = __toCommonJS(locales_exports);
25
+ var locales_default = {
26
+ "en": {
27
+ "page.wallet.guide.title": "Activate Now!",
28
+ "page.wallet.guide.subtitle": "Unlock membership benefits now",
29
+ "page.wallet.guide.button": "Get Your Reward"
30
+ },
31
+ "zh-CN": {
32
+ "page.wallet.guide.title": "待解锁权益",
33
+ "page.wallet.guide.subtitle": "成为专属会员,即可享受更多权益",
34
+ "page.wallet.guide.button": "点击获取"
35
+ },
36
+ "zh-HK": {
37
+ "page.wallet.guide.title": "待解鎖權益",
38
+ "page.wallet.guide.subtitle": "成為專屬會員,即可享受更多權益",
39
+ "page.wallet.guide.button": "點擊獲取"
40
+ }
41
+ };
@@ -10,3 +10,11 @@ export declare const getWalletList: () => Promise<WalletPass[]>;
10
10
  * @returns
11
11
  */
12
12
  export declare const getWalletBalance: () => Promise<WalletBalance | null>;
13
+ /**
14
+ * @title: 获取钱包店铺列表
15
+ * @description:
16
+ * @return {*}
17
+ * @Author: WangHan
18
+ * @Date: 2025-06-09 11:12
19
+ */
20
+ export declare const getWalletShopList: (params: any) => Promise<any>;
@@ -20,7 +20,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  var serve_exports = {};
21
21
  __export(serve_exports, {
22
22
  getWalletBalance: () => getWalletBalance,
23
- getWalletList: () => getWalletList
23
+ getWalletList: () => getWalletList,
24
+ getWalletShopList: () => getWalletShopList
24
25
  });
25
26
  module.exports = __toCommonJS(serve_exports);
26
27
  var import_utils = require("./../../utils");
@@ -40,8 +41,20 @@ var getWalletBalance = async () => {
40
41
  return null;
41
42
  }
42
43
  };
44
+ var getWalletShopList = async (params) => {
45
+ try {
46
+ const { data } = await import_utils.request.getRequest().get("/h5/wallet/shop/list", params || {}, {
47
+ abort: true,
48
+ useCache: true
49
+ });
50
+ return data || null;
51
+ } catch (error) {
52
+ return null;
53
+ }
54
+ };
43
55
  // Annotate the CommonJS export names for ESM import in node:
44
56
  0 && (module.exports = {
45
57
  getWalletBalance,
46
- getWalletList
58
+ getWalletList,
59
+ getWalletShopList
47
60
  });
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @title: 默认引导页配置
3
+ * @description:
4
+ * @param {any} locales
5
+ * @return {any}
6
+ * @Author: WangHan
7
+ * @Date: 2025-06-09 14:22
8
+ */
9
+ export declare const defaultWalletGuideConfig: () => {
10
+ show: number;
11
+ align: string;
12
+ backgroundColor: string;
13
+ backgroundImage: string;
14
+ backgroundImageAlt: string;
15
+ buttonColor: string;
16
+ buttonBorderColor: string;
17
+ titleConfig: {
18
+ size: number;
19
+ color: string;
20
+ weight: number;
21
+ style: string;
22
+ text: any;
23
+ };
24
+ subtitleConfig: {
25
+ size: number;
26
+ color: string;
27
+ weight: number;
28
+ style: string;
29
+ text: any;
30
+ };
31
+ buttonConfig: {
32
+ size: number;
33
+ color: string;
34
+ weight: number;
35
+ style: string;
36
+ text: any;
37
+ };
38
+ };
@@ -0,0 +1,66 @@
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/walletList/status.ts
20
+ var status_exports = {};
21
+ __export(status_exports, {
22
+ defaultWalletGuideConfig: () => defaultWalletGuideConfig
23
+ });
24
+ module.exports = __toCommonJS(status_exports);
25
+ var import_utils = require("@pisell/utils");
26
+ var defaultWalletGuideConfig = () => {
27
+ return {
28
+ show: 1,
29
+ //文字居中
30
+ align: "center",
31
+ //背景颜色
32
+ backgroundColor: "",
33
+ backgroundImage: "",
34
+ backgroundImageAlt: "",
35
+ buttonColor: "rgba(127,86,217,1)",
36
+ buttonBorderColor: "rgba(127,86,217,1)",
37
+ // 标题配置
38
+ titleConfig: {
39
+ size: 18,
40
+ color: "rgba(255,255,255,1)",
41
+ weight: 600,
42
+ style: "normal",
43
+ text: import_utils.locales.getText("page.wallet.guide.title")
44
+ },
45
+ // 副标题配置
46
+ subtitleConfig: {
47
+ size: 14,
48
+ color: "rgba(208,213,221,1)",
49
+ weight: 400,
50
+ style: "normal",
51
+ text: import_utils.locales.getText("page.wallet.guide.subtitle")
52
+ },
53
+ // 按钮配置
54
+ buttonConfig: {
55
+ size: 14,
56
+ color: "rgba(255,255,255,1)",
57
+ weight: 600,
58
+ style: "normal",
59
+ text: import_utils.locales.getText("page.wallet.guide.button")
60
+ }
61
+ };
62
+ };
63
+ // Annotate the CommonJS export names for ESM import in node:
64
+ 0 && (module.exports = {
65
+ defaultWalletGuideConfig
66
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.3.63",
3
+ "version": "3.3.64",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,9 +59,9 @@
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
- "@pisell/utils": "1.0.42",
63
- "@pisell/materials": "3.3.22",
64
62
  "@pisell/icon": "0.0.11",
63
+ "@pisell/utils": "1.0.42",
64
+ "@pisell/materials": "3.3.23",
65
65
  "@pisell/date-picker": "3.0.2"
66
66
  },
67
67
  "peerDependencies": {