@pisell/private-materials 3.4.48 → 3.4.49

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 (561) 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 +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +23 -8
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +23 -8
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
  16. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  18. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  19. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  20. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  21. package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
  22. package/es/components/appointmentBooking/hooks.js +5 -0
  23. package/es/components/appointmentBooking/index.d.ts +0 -1
  24. package/es/components/booking/addons/model.d.ts +10 -1
  25. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  26. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  27. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  28. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  29. package/es/components/booking/components/customSelect/index.js +22 -3
  30. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  31. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  32. package/es/components/booking/components/footer/index.d.ts +0 -1
  33. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  34. package/es/components/booking/deposit/index.d.ts +0 -1
  35. package/es/components/booking/forms/footer.d.ts +0 -1
  36. package/es/components/booking/forms/model.d.ts +10 -1
  37. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  38. package/es/components/booking/forms/single/index.d.ts +0 -1
  39. package/es/components/booking/forms/table/index.d.ts +0 -1
  40. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  41. package/es/components/booking/hooks/useQuotation.d.ts +0 -1
  42. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  43. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  44. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  45. package/es/components/booking/info/date/index.d.ts +0 -1
  46. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  47. package/es/components/booking/info/header/index.d.ts +0 -1
  48. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  49. package/es/components/booking/info/index.d.ts +0 -1
  50. package/es/components/booking/info/model.d.ts +10 -1
  51. package/es/components/booking/info/notes/index.d.ts +0 -1
  52. package/es/components/booking/info/service/Lists.d.ts +0 -1
  53. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  54. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  55. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  56. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  57. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  58. package/es/components/booking/info/service/like/index.d.ts +0 -1
  59. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  60. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  61. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  62. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  63. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  64. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  65. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  66. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  67. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  68. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  69. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  70. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  71. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  72. package/es/components/booking/model.d.ts +9 -1
  73. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  74. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  75. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  76. package/es/components/booking/notes/model.d.ts +10 -1
  77. package/es/components/booking/payments/model.d.ts +10 -1
  78. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  79. package/es/components/eftpos/form/index.d.ts +0 -1
  80. package/es/components/eftpos/group/index.d.ts +0 -1
  81. package/es/components/eftpos/hooks.d.ts +0 -1
  82. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  83. package/es/components/eftpos/icon/device.d.ts +0 -1
  84. package/es/components/eftpos/index.d.ts +0 -1
  85. package/es/components/eftpos/pos.d.ts +0 -1
  86. package/es/components/eftpos/receipt/index.d.ts +0 -1
  87. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  88. package/es/components/eftposPay/amount.d.ts +0 -1
  89. package/es/components/eftposPay/app.d.ts +0 -1
  90. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  91. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  92. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  93. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  94. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  95. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  96. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  97. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  98. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  99. package/es/components/eftposPay/device.d.ts +0 -1
  100. package/es/components/eftposPay/index.d.ts +0 -1
  101. package/es/components/eftposPay/linkly/index.d.ts +0 -1
  102. package/es/components/eftposPay/pay.d.ts +0 -1
  103. package/es/components/eftposPay/payo/config.d.ts +0 -1
  104. package/es/components/eftposPay/tip.d.ts +0 -1
  105. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  106. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  107. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  108. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  109. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  110. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  111. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  112. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  113. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  114. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  115. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  116. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  117. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  118. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  119. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  120. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  121. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  122. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  123. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  124. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  125. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  126. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  127. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  128. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  129. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  130. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  131. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  132. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  133. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  134. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  135. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  136. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  137. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  138. package/es/components/eventBooking/index.d.ts +0 -1
  139. package/es/components/index.d.ts +1 -1
  140. package/es/components/index.js +1 -1
  141. package/es/components/login/index.d.ts +0 -1
  142. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  143. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  144. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  145. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  146. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  147. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  148. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  149. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  150. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  151. package/es/components/pay/toC/model.d.ts +9 -1
  152. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  153. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  154. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  155. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  156. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  157. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  158. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  159. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  160. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  161. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  162. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  163. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  164. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  165. package/es/components/productExtension/index.d.ts +0 -1
  166. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  167. package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
  168. package/es/components/ruleSetting/index.d.ts +0 -1
  169. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  170. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  171. package/es/components/schedules/calendar/index.d.ts +0 -1
  172. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  173. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  174. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  175. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  176. package/es/components/schedules/model.d.ts +9 -1
  177. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  178. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  179. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  180. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  181. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  182. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  183. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  184. package/es/components/schedules/products/index.d.ts +0 -1
  185. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  186. package/es/components/schedules/products/list/index.d.ts +0 -1
  187. package/es/components/schedules/resources/index.d.ts +0 -1
  188. package/es/components/schedules/resources/list/index.d.ts +0 -1
  189. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  190. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  191. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  192. package/es/components/schedules/schedules/index.d.ts +0 -1
  193. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  194. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  195. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  196. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  197. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  198. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  199. package/es/components/shoppingCart/index.d.ts +0 -1
  200. package/es/components/taxSelect/index.d.ts +0 -1
  201. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  202. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  203. package/es/components/wallet/Detail/model.d.ts +13 -1
  204. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  205. package/es/components/wallet/PointCard/model.d.ts +13 -1
  206. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  207. package/es/components/wallet/Voucher/model.d.ts +13 -1
  208. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  209. package/es/components/wallet/model.d.ts +9 -1
  210. package/es/components/walletList/index.d.ts +0 -25
  211. package/es/components/walletList/index.js +93 -61
  212. package/es/components/walletList/serve.d.ts +4 -0
  213. package/es/components/walletList/serve.js +46 -13
  214. package/es/components/walletList/types/index.d.ts +12 -12
  215. package/es/components/walletList/types/index.js +2 -2
  216. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  217. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  218. package/es/hooks/usePaymentLogger.d.ts +0 -1
  219. package/es/index.d.ts +2 -1
  220. package/es/index.js +3 -2
  221. package/es/plus/clientName/index.d.ts +0 -1
  222. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +0 -1
  223. package/es/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  224. package/es/plus/productSelect/CategoryTabs/index.js +6 -3
  225. package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  226. package/es/plus/productSelect/utils.js +0 -1
  227. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  228. package/es/plus/saasCreateOrganization/index.d.ts +0 -1
  229. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  230. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  231. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  232. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  233. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  234. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  235. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  236. package/es/plus/walletEditor/WalletEditor.d.ts +5 -0
  237. package/es/plus/walletEditor/WalletEditor.js +316 -0
  238. package/es/plus/walletEditor/WalletEditor.less +129 -0
  239. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  240. package/es/plus/walletEditor/components/ImageUpload/index.js +223 -0
  241. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  242. package/es/plus/walletEditor/components/JsonEditor/index.js +68 -0
  243. package/es/plus/walletEditor/components/JsonEditor/index.less +4 -0
  244. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  245. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.js +222 -0
  246. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  247. package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  248. package/es/plus/walletEditor/components/relationProduct/index.js +49 -0
  249. package/es/plus/walletEditor/components/relationProduct/index.less +15 -0
  250. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  251. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +193 -0
  252. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  253. package/es/plus/walletEditor/index.d.ts +3 -0
  254. package/es/plus/walletEditor/index.js +3 -0
  255. package/es/plus/walletEditor/locales.d.ts +126 -0
  256. package/es/plus/walletEditor/locales.js +143 -0
  257. package/es/plus/walletEditor/types.d.ts +52 -0
  258. package/es/plus/walletEditor/types.js +1 -0
  259. package/es/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  260. package/es/plus/walletPassGallery/components/footerButton/index.js +247 -0
  261. package/es/plus/walletPassGallery/components/footerButton/index.less +93 -0
  262. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  263. package/es/plus/walletPassGallery/components/passDetail/index.js +274 -0
  264. package/es/plus/walletPassGallery/components/passDetail/index.less +57 -0
  265. package/es/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  266. package/es/plus/walletPassGallery/components/passList/index.js +115 -0
  267. package/es/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  268. package/es/plus/walletPassGallery/components/recharge/index.js +134 -0
  269. package/es/plus/walletPassGallery/components/recharge/index.less +16 -0
  270. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  271. package/es/plus/walletPassGallery/components/timelineSection/index.js +176 -0
  272. package/es/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  273. package/es/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  274. package/es/plus/walletPassGallery/components/usageRule/index.js +248 -0
  275. package/es/plus/walletPassGallery/components/usageRule/index.less +157 -0
  276. package/es/plus/walletPassGallery/index.d.ts +6 -0
  277. package/es/plus/walletPassGallery/index.js +602 -0
  278. package/es/plus/walletPassGallery/index.less +115 -0
  279. package/es/plus/walletPassGallery/locales.d.ts +270 -0
  280. package/es/plus/walletPassGallery/locales.js +279 -0
  281. package/es/plus/walletPassGallery/serve.d.ts +218 -0
  282. package/es/plus/walletPassGallery/serve.js +289 -0
  283. package/es/pro/pisellPaymentList/example.d.ts +0 -1
  284. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  285. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  286. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  287. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  288. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
  289. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  290. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  291. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  292. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  293. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  294. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
  295. package/lib/components/appointmentBooking/hooks.js +3 -0
  296. package/lib/components/appointmentBooking/index.d.ts +0 -1
  297. package/lib/components/booking/addons/model.d.ts +10 -1
  298. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  299. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  300. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  301. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  302. package/lib/components/booking/components/customSelect/index.js +26 -3
  303. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  304. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  305. package/lib/components/booking/components/footer/index.d.ts +0 -1
  306. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  307. package/lib/components/booking/deposit/index.d.ts +0 -1
  308. package/lib/components/booking/forms/footer.d.ts +0 -1
  309. package/lib/components/booking/forms/model.d.ts +10 -1
  310. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  311. package/lib/components/booking/forms/single/index.d.ts +0 -1
  312. package/lib/components/booking/forms/table/index.d.ts +0 -1
  313. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  314. package/lib/components/booking/hooks/useQuotation.d.ts +0 -1
  315. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  316. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  317. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  318. package/lib/components/booking/info/date/index.d.ts +0 -1
  319. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  320. package/lib/components/booking/info/header/index.d.ts +0 -1
  321. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  322. package/lib/components/booking/info/index.d.ts +0 -1
  323. package/lib/components/booking/info/model.d.ts +10 -1
  324. package/lib/components/booking/info/notes/index.d.ts +0 -1
  325. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  326. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  327. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  328. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  329. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  330. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  331. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  332. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  333. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  334. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  335. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  336. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  337. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
  338. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  339. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  340. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  341. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  342. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  343. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  344. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  345. package/lib/components/booking/model.d.ts +9 -1
  346. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  347. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  348. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  349. package/lib/components/booking/notes/model.d.ts +10 -1
  350. package/lib/components/booking/payments/model.d.ts +10 -1
  351. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  352. package/lib/components/eftpos/form/index.d.ts +0 -1
  353. package/lib/components/eftpos/group/index.d.ts +0 -1
  354. package/lib/components/eftpos/hooks.d.ts +0 -1
  355. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  356. package/lib/components/eftpos/icon/device.d.ts +0 -1
  357. package/lib/components/eftpos/index.d.ts +0 -1
  358. package/lib/components/eftpos/pos.d.ts +0 -1
  359. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  360. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  361. package/lib/components/eftposPay/amount.d.ts +0 -1
  362. package/lib/components/eftposPay/app.d.ts +0 -1
  363. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  364. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  365. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  366. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  367. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  368. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  369. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  370. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  371. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  372. package/lib/components/eftposPay/device.d.ts +0 -1
  373. package/lib/components/eftposPay/index.d.ts +0 -1
  374. package/lib/components/eftposPay/linkly/index.d.ts +0 -1
  375. package/lib/components/eftposPay/pay.d.ts +0 -1
  376. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  377. package/lib/components/eftposPay/tip.d.ts +0 -1
  378. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  379. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  380. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  381. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  382. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  383. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  384. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  385. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  386. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  387. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  388. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  389. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  390. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  391. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  392. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  393. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  394. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  395. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  396. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  397. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  398. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  399. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  400. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  401. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  402. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  403. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  404. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  405. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  406. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  407. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  408. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  409. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  410. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  411. package/lib/components/eventBooking/index.d.ts +0 -1
  412. package/lib/components/index.d.ts +1 -1
  413. package/lib/components/index.js +1 -1
  414. package/lib/components/login/index.d.ts +0 -1
  415. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  416. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  417. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  418. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  419. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  420. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  421. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  422. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  423. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  424. package/lib/components/pay/toC/model.d.ts +9 -1
  425. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  426. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  427. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  428. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  429. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  430. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  431. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  432. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  433. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  434. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  435. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  436. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  437. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  438. package/lib/components/productExtension/index.d.ts +0 -1
  439. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  440. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
  441. package/lib/components/ruleSetting/index.d.ts +0 -1
  442. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  443. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  444. package/lib/components/schedules/calendar/index.d.ts +0 -1
  445. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  446. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  447. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  448. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  449. package/lib/components/schedules/model.d.ts +9 -1
  450. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  451. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  452. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  453. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  454. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  455. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  456. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  457. package/lib/components/schedules/products/index.d.ts +0 -1
  458. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  459. package/lib/components/schedules/products/list/index.d.ts +0 -1
  460. package/lib/components/schedules/resources/index.d.ts +0 -1
  461. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  462. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  463. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  464. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  465. package/lib/components/schedules/schedules/index.d.ts +0 -1
  466. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  467. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  468. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  469. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  470. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  471. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  472. package/lib/components/shoppingCart/index.d.ts +0 -1
  473. package/lib/components/taxSelect/index.d.ts +0 -1
  474. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  475. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  476. package/lib/components/wallet/Detail/model.d.ts +13 -1
  477. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  478. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  479. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  480. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  481. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  482. package/lib/components/wallet/model.d.ts +9 -1
  483. package/lib/components/walletList/index.d.ts +0 -25
  484. package/lib/components/walletList/index.js +88 -47
  485. package/lib/components/walletList/serve.d.ts +4 -0
  486. package/lib/components/walletList/serve.js +12 -0
  487. package/lib/components/walletList/types/index.d.ts +12 -12
  488. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  489. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  490. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  491. package/lib/index.d.ts +2 -1
  492. package/lib/index.js +6 -3
  493. package/lib/plus/clientName/index.d.ts +0 -1
  494. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +0 -1
  495. package/lib/plus/productSelect/CategoryTabs/index.d.ts +2 -0
  496. package/lib/plus/productSelect/CategoryTabs/index.js +84 -69
  497. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
  498. package/lib/plus/productSelect/utils.js +0 -1
  499. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  500. package/lib/plus/saasCreateOrganization/index.d.ts +0 -1
  501. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  502. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  503. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  504. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  505. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  506. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  507. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  508. package/lib/plus/walletEditor/WalletEditor.d.ts +5 -0
  509. package/lib/plus/walletEditor/WalletEditor.js +354 -0
  510. package/lib/plus/walletEditor/WalletEditor.less +129 -0
  511. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
  512. package/lib/plus/walletEditor/components/ImageUpload/index.js +201 -0
  513. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  514. package/lib/plus/walletEditor/components/JsonEditor/index.js +89 -0
  515. package/lib/plus/walletEditor/components/JsonEditor/index.less +4 -0
  516. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  517. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.js +176 -0
  518. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
  519. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  520. package/lib/plus/walletEditor/components/relationProduct/index.js +73 -0
  521. package/lib/plus/walletEditor/components/relationProduct/index.less +15 -0
  522. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
  523. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +211 -0
  524. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
  525. package/lib/plus/walletEditor/index.d.ts +3 -0
  526. package/lib/plus/walletEditor/index.js +42 -0
  527. package/lib/plus/walletEditor/locales.d.ts +126 -0
  528. package/lib/plus/walletEditor/locales.js +167 -0
  529. package/lib/plus/walletEditor/types.d.ts +52 -0
  530. package/lib/plus/walletEditor/types.js +17 -0
  531. package/lib/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
  532. package/lib/plus/walletPassGallery/components/footerButton/index.js +187 -0
  533. package/lib/plus/walletPassGallery/components/footerButton/index.less +93 -0
  534. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
  535. package/lib/plus/walletPassGallery/components/passDetail/index.js +287 -0
  536. package/lib/plus/walletPassGallery/components/passDetail/index.less +57 -0
  537. package/lib/plus/walletPassGallery/components/passList/index.d.ts +11 -0
  538. package/lib/plus/walletPassGallery/components/passList/index.js +136 -0
  539. package/lib/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
  540. package/lib/plus/walletPassGallery/components/recharge/index.js +146 -0
  541. package/lib/plus/walletPassGallery/components/recharge/index.less +16 -0
  542. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
  543. package/lib/plus/walletPassGallery/components/timelineSection/index.js +212 -0
  544. package/lib/plus/walletPassGallery/components/timelineSection/index.less +67 -0
  545. package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
  546. package/lib/plus/walletPassGallery/components/usageRule/index.js +209 -0
  547. package/lib/plus/walletPassGallery/components/usageRule/index.less +157 -0
  548. package/lib/plus/walletPassGallery/index.d.ts +6 -0
  549. package/lib/plus/walletPassGallery/index.js +498 -0
  550. package/lib/plus/walletPassGallery/index.less +115 -0
  551. package/lib/plus/walletPassGallery/locales.d.ts +270 -0
  552. package/lib/plus/walletPassGallery/locales.js +299 -0
  553. package/lib/plus/walletPassGallery/serve.d.ts +218 -0
  554. package/lib/plus/walletPassGallery/serve.js +98 -0
  555. package/lib/pro/pisellPaymentList/example.d.ts +0 -1
  556. package/lowcode/sortable-wallet-pass-types/meta.ts +267 -0
  557. package/lowcode/wallet-editor/meta.ts +57 -0
  558. package/lowcode/wallet-editor/snippets.ts +13 -0
  559. package/lowcode/wallet-pass-gallery/meta.ts +35 -0
  560. package/package.json +4 -4
  561. package/lowcode/wallet/meta.ts +0 -79
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: number;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ state: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -1 +1,29 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ selectedGiftOptionId: string | null;
4
+ cardList: Array<{
5
+ id: string;
6
+ name: string;
7
+ price: number;
8
+ }>;
9
+ selectedItem: {
10
+ id?: string;
11
+ gift_price?: number;
12
+ price?: number;
13
+ name?: string;
14
+ variant_id?: string;
15
+ };
16
+ productId?: string;
17
+ detailId?: string;
18
+ total: string | number;
19
+ rechargeModalOpen: boolean;
20
+ }
21
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
22
+ state: RechargeState;
23
+ } & {
24
+ dispatch: (params: {
25
+ type: string;
26
+ payload: any;
27
+ }) => void;
28
+ }>;
29
+ export {};
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: 0;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ state: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from '../serve';
3
2
  /**
4
3
  * 钱包卡片Hook的参数
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IWalletListItemProps } from './serve';
2
3
  export interface WalletCardItemProps {
3
4
  id: string;
@@ -26,4 +27,11 @@ export interface WalletListProps {
26
27
  currentSearchListItemCode?: string;
27
28
  [key: string]: any;
28
29
  }
29
- export declare const Provider: any, Context: any;
30
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
31
+ global_wallet: WalletListProps;
32
+ } & {
33
+ dispatch: (params: {
34
+ type: string;
35
+ payload: any;
36
+ }) => void;
37
+ }>;
@@ -1,28 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare module 'react' {
4
- interface HTMLAttributes<T> {
5
- role?: string;
6
- }
7
- }
8
- declare global {
9
- namespace JSX {
10
- interface IntrinsicElements {
11
- div: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
12
- children?: React.ReactNode;
13
- onClick?: React.MouseEventHandler<HTMLDivElement>;
14
- onMouseDown?: React.MouseEventHandler<HTMLDivElement>;
15
- onMouseUp?: React.MouseEventHandler<HTMLDivElement>;
16
- onTouchStart?: React.TouchEventHandler<HTMLDivElement>;
17
- onTouchEnd?: React.TouchEventHandler<HTMLDivElement>;
18
- role?: string;
19
- };
20
- img: React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
21
- span: React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> & {
22
- children?: React.ReactNode;
23
- };
24
- }
25
- }
26
- }
27
2
  declare const WalletList: (props: any) => JSX.Element;
28
3
  export default WalletList;
@@ -104,8 +104,48 @@ var DEFAULT_WALLET_CARD = {
104
104
  en: "Level"
105
105
  },
106
106
  metadata: {
107
- barcodetype: "barCode",
108
- showcaseWalletPass: ["rechargeable", "piont", "voucher", "discount"],
107
+ showcaseWalletPassNew: [
108
+ {
109
+ type: "rechargeable",
110
+ display: 1,
111
+ custom_title: {
112
+ original: "Balance",
113
+ "zh-CN": "充值卡",
114
+ "zh-HK": "充值卡",
115
+ en: "Balance"
116
+ }
117
+ },
118
+ {
119
+ type: "point",
120
+ display: 1,
121
+ custom_title: {
122
+ original: "Points",
123
+ "zh-CN": "积分卡",
124
+ "zh-HK": "積分卡",
125
+ en: "Points"
126
+ }
127
+ },
128
+ {
129
+ type: "voucher",
130
+ display: 1,
131
+ custom_title: {
132
+ original: "Voucher",
133
+ "zh-CN": "代金券",
134
+ "zh-HK": "代金券",
135
+ en: "Voucher"
136
+ }
137
+ },
138
+ {
139
+ type: "discount",
140
+ display: 1,
141
+ custom_title: {
142
+ original: "Discount",
143
+ "zh-CN": "折扣卡",
144
+ "zh-HK": "折扣卡",
145
+ en: "Discount"
146
+ }
147
+ }
148
+ ],
109
149
  coverImage: "",
110
150
  icon: ""
111
151
  }
@@ -171,7 +211,7 @@ var WalletList = (0, import_model.Provider)((props) => {
171
211
  if (isMountedRef.current) {
172
212
  setState({
173
213
  list: [DEFAULT_WALLET_CARD],
174
- balance: DEFAULT_BALANCE,
214
+ balance: [],
175
215
  hasAttempted: true,
176
216
  isLoggedIn: false
177
217
  });
@@ -269,7 +309,7 @@ var WalletList = (0, import_model.Provider)((props) => {
269
309
  if (!isUserLoggedIn) {
270
310
  setState({
271
311
  list: [DEFAULT_WALLET_CARD],
272
- balance: DEFAULT_BALANCE,
312
+ balance: [],
273
313
  hasAttempted: true,
274
314
  isLoggedIn: false
275
315
  });
@@ -281,6 +321,14 @@ var WalletList = (0, import_model.Provider)((props) => {
281
321
  try {
282
322
  cachedList = getFromLocalStorage(STORAGE_KEY);
283
323
  cachedBalance = getFromLocalStorage(STORAGE_KEY_BALANCE);
324
+ if (!Array.isArray(cachedBalance) || !cachedBalance.some(
325
+ (item) => {
326
+ var _a3;
327
+ return (_a3 = item.hasOwnProperty) == null ? void 0 : _a3.call(item, "gift_card_balance");
328
+ }
329
+ )) {
330
+ cachedBalance = null;
331
+ }
284
332
  } catch (e) {
285
333
  console.error("Error fetching from localStorage:", e);
286
334
  }
@@ -293,10 +341,10 @@ var WalletList = (0, import_model.Provider)((props) => {
293
341
  }
294
342
  try {
295
343
  if (!isMountedRef.current) return;
296
- const [walletListData, walletBalanceData] = await Promise.all([
297
- (0, import_serve.getWalletList)(),
298
- (0, import_serve.getWalletBalance)()
299
- ]);
344
+ const walletListData = await (0, import_serve.getWalletList)();
345
+ const walletBalanceData = await (0, import_serve.batchGetWalletBalance)(
346
+ walletListData.map((item) => item.wallet_id)
347
+ );
300
348
  if (!isMountedRef.current || requestIdRef.current !== requestId) return;
301
349
  if (walletListData) {
302
350
  try {
@@ -319,8 +367,20 @@ var WalletList = (0, import_model.Provider)((props) => {
319
367
  try {
320
368
  let retryBalanceData = walletBalanceData;
321
369
  let retryListData = walletListData;
370
+ if (Array.isArray(walletListData) && walletListData.length === 0) {
371
+ retryListData = await (0, import_serve.getWalletList)();
372
+ if (retryListData && retryListData.length > 0) {
373
+ try {
374
+ saveToLocalStorage(STORAGE_KEY, retryListData);
375
+ } catch (e) {
376
+ console.error("Error saving retry list to localStorage:", e);
377
+ }
378
+ }
379
+ }
322
380
  if (!walletBalanceData) {
323
- retryBalanceData = await (0, import_serve.getWalletBalance)();
381
+ retryBalanceData = await (0, import_serve.batchGetWalletBalance)(
382
+ retryListData.map((item) => item.wallet_id)
383
+ );
324
384
  if (retryBalanceData) {
325
385
  try {
326
386
  saveToLocalStorage(STORAGE_KEY_BALANCE, retryBalanceData);
@@ -332,16 +392,6 @@ var WalletList = (0, import_model.Provider)((props) => {
332
392
  }
333
393
  }
334
394
  }
335
- if (Array.isArray(walletListData) && walletListData.length === 0) {
336
- retryListData = await (0, import_serve.getWalletList)({});
337
- if (retryListData && retryListData.length > 0) {
338
- try {
339
- saveToLocalStorage(STORAGE_KEY, retryListData);
340
- } catch (e) {
341
- console.error("Error saving retry list to localStorage:", e);
342
- }
343
- }
344
- }
345
395
  setState({
346
396
  list: retryListData || [],
347
397
  balance: retryBalanceData,
@@ -385,50 +435,41 @@ var WalletList = (0, import_model.Provider)((props) => {
385
435
  const { code, shop, wallet, id } = item;
386
436
  const { metadata, name } = wallet || {};
387
437
  const {
388
- barcodetype = "barCode",
389
- showcaseWalletPass = [],
438
+ showcaseWalletPassNew = [],
390
439
  coverImage = "",
391
440
  icon = ""
392
441
  } = metadata || {};
393
442
  const { name: shopName } = shop;
394
- const { balance } = state;
395
- const balanceKeyMap = {
396
- gift_card_balance: "rechargeable",
397
- point_card_balance: "piont",
398
- voucher_count: "voucher",
399
- discount_card_count: "discount"
443
+ const { balance = [] } = state;
444
+ const balanceItem = balance.find((bi) => bi.wallet_id == item.wallet_id) || DEFAULT_BALANCE;
445
+ const _balanceKeyMap = {
446
+ rechargeable: "gift_card_balance",
447
+ point: "point_card_balance",
448
+ voucher: "voucher_count",
449
+ discount: "discount_card_count"
400
450
  };
401
- const cardItems = (showcaseWalletPass || []).map(
402
- (key) => {
403
- var _a3;
404
- const balanceKey = (_a3 = Object.entries(balanceKeyMap).find(
405
- ([_, value2]) => value2 === key
406
- )) == null ? void 0 : _a3[0];
407
- let value = balanceKey ? balance[balanceKey] || 0 : 0;
408
- if (balanceKey === "voucher_count") {
409
- value += balance.good_pass_count;
410
- }
411
- return {
412
- key,
413
- label: key,
414
- hidden: false,
415
- value
416
- };
417
- }
418
- );
451
+ const cardItems = showcaseWalletPassNew.map((showCaseItem) => {
452
+ const balanceKey = _balanceKeyMap[showCaseItem.type];
453
+ let value = balanceKey ? balanceItem[balanceKey] || 0 : 0;
454
+ return {
455
+ ...showCaseItem,
456
+ value
457
+ };
458
+ });
419
459
  const cardProps = {
420
460
  // 先应用默认配置
421
461
  ...import_types.DEFAULT_CARD_CONFIG,
422
462
  // 再应用globalState作为兜底
423
463
  ...globalState,
424
464
  // 最后应用API返回的数据,这些拥有最高优先级
465
+ id: wallet.id,
425
466
  iconImg: icon,
426
467
  symbol,
427
468
  cardNo: code,
428
469
  walletName: getLocalizedName(name, (_a2 = dvaStore == null ? void 0 : dvaStore.core) == null ? void 0 : _a2.translateLocale),
429
470
  shopName,
430
- codeType: barcodetype,
431
- items: cardItems,
471
+ // codeType: barcodetype,
472
+ items: cardItems.slice(0, 4),
432
473
  customBackgroundImage: coverImage,
433
474
  isLogin: isUserLoggedIn
434
475
  // 添加登录状态
@@ -10,6 +10,10 @@ export declare const getWalletList: () => Promise<WalletPass[]>;
10
10
  * @returns
11
11
  */
12
12
  export declare const getWalletBalance: () => Promise<WalletBalance | null>;
13
+ /**
14
+ * 批量获取钱包余额信息
15
+ */
16
+ export declare const batchGetWalletBalance: (walletIds: string[]) => Promise<Record<string, WalletBalance> | null>;
13
17
  /**
14
18
  * @title: 获取钱包店铺列表
15
19
  * @description:
@@ -19,6 +19,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
19
19
  // src/components/walletList/serve.ts
20
20
  var serve_exports = {};
21
21
  __export(serve_exports, {
22
+ batchGetWalletBalance: () => batchGetWalletBalance,
22
23
  getWalletBalance: () => getWalletBalance,
23
24
  getWalletList: () => getWalletList,
24
25
  getWalletShopList: () => getWalletShopList
@@ -41,6 +42,16 @@ var getWalletBalance = async () => {
41
42
  return null;
42
43
  }
43
44
  };
45
+ var batchGetWalletBalance = async (walletIds) => {
46
+ try {
47
+ const { data } = await import_utils.request.getRequest().get("/h5/wallet/wallet-pass/balance/batch", {
48
+ wallet_id: walletIds
49
+ });
50
+ return data || {};
51
+ } catch (error) {
52
+ return {};
53
+ }
54
+ };
44
55
  var getWalletShopList = async (params) => {
45
56
  try {
46
57
  const { data } = await import_utils.request.getRequest().get("/h5/wallet/shop/list", params || {}, {
@@ -54,6 +65,7 @@ var getWalletShopList = async (params) => {
54
65
  };
55
66
  // Annotate the CommonJS export names for ESM import in node:
56
67
  0 && (module.exports = {
68
+ batchGetWalletBalance,
57
69
  getWalletBalance,
58
70
  getWalletList,
59
71
  getWalletShopList
@@ -6,14 +6,18 @@ export interface MultiLanguageName {
6
6
  en: string;
7
7
  [key: string]: string;
8
8
  }
9
+ declare type WalletPassType = 'rechargeable' | 'point' | 'voucher' | 'discount';
9
10
  export interface WalletMetadata {
10
11
  name: MultiLanguageName;
11
12
  welcomeText?: string | MultiLanguageName;
12
13
  customerName?: string;
13
14
  coverImage?: string;
14
15
  icon?: string;
15
- barcodetype: 'barCode' | 'orCode';
16
- showcaseWalletPass?: ('rechargeable' | 'piont' | 'voucher' | 'discount')[];
16
+ showcaseWalletPassNew?: Array<{
17
+ type: WalletPassType;
18
+ custom_title?: string | MultiLanguageName;
19
+ display?: 0 | 1;
20
+ }>;
17
21
  }
18
22
  export interface Shop {
19
23
  id: number;
@@ -56,15 +60,10 @@ export interface WalletBalance {
56
60
  voucher_count: number;
57
61
  discount_card_count: number;
58
62
  }
59
- export interface WalletBalanceItem {
60
- key: string;
61
- label: string;
62
- value: number;
63
- }
64
63
  export interface WalletCardItem {
65
- key: string;
66
- label: string;
67
- hidden: boolean;
64
+ type: WalletPassType;
65
+ custom_title?: string | MultiLanguageName;
66
+ display: 0 | 1;
68
67
  value?: number;
69
68
  }
70
69
  export interface State {
@@ -106,7 +105,7 @@ export interface WalletListProps {
106
105
  platform?: 'pc' | 'h5' | 'ipad';
107
106
  mode?: 'dark' | 'light';
108
107
  cardStyle?: 'normal' | 'full';
109
- codeType?: 'barCode' | 'orCode';
108
+ codeType?: 'barCode' | 'qrCode';
110
109
  codeDirection?: 'bottom' | 'top';
111
110
  shopName?: boolean;
112
111
  showWalletName?: boolean;
@@ -131,7 +130,7 @@ export interface WalletCardProps {
131
130
  platform?: 'pc' | 'h5' | 'ipad';
132
131
  mode?: 'dark' | 'light';
133
132
  cardStyle?: 'normal' | 'full';
134
- codeType?: 'barCode' | 'orCode';
133
+ codeType?: 'barCode' | 'qrCode';
135
134
  codeDirection?: 'bottom' | 'top';
136
135
  shopName?: boolean;
137
136
  showIcon?: boolean;
@@ -192,3 +191,4 @@ export interface CarouselSettings {
192
191
  };
193
192
  }>;
194
193
  }
194
+ export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
3
2
  import './index.less';
4
3
  interface ModalProps extends AntModalProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './../../index.less';
3
2
  declare const Search: () => JSX.Element;
4
3
  export default Search;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface LogData {
3
2
  key: string;
4
3
  value: any;
package/lib/index.d.ts CHANGED
@@ -22,7 +22,6 @@ export { default as TaxSelect } from './components/taxSelect';
22
22
  export { default as EftposPay } from './components/eftposPay';
23
23
  export { default as ToCPay } from './components/pay/toC';
24
24
  export { default as Eftpos } from './components/eftpos';
25
- export { default as Wallet } from './components/wallet';
26
25
  export { default as WalletList } from './components/walletList';
27
26
  export { default as BookingDashboard } from './components/booking/dashboard';
28
27
  export { default as PisellSelectCustomerModal } from './components/pisellSelectCustomerModal';
@@ -55,3 +54,5 @@ export type { SaaSAdminAuthProps, OrgAdminAuthProps, DeviceAuthProps, POSOperato
55
54
  export { default as ContactInfo } from './plus/contactInfo';
56
55
  export { default as ContactInfoModal } from './plus/contactInfoModal';
57
56
  export { Login2, Register2, AuthModal } from './pro/Login2.0';
57
+ export { default as WalletEditor } from './plus/walletEditor';
58
+ export { default as WalletPassGallery } from './plus/walletPassGallery';
package/lib/index.js CHANGED
@@ -90,8 +90,9 @@ __export(src_exports, {
90
90
  ToCPay: () => import_toC.default,
91
91
  VerticalAddService: () => import_addServiceVariant.default,
92
92
  VerticalClient: () => import_clientVariant.VerticalClient,
93
- Wallet: () => import_wallet.default,
93
+ WalletEditor: () => import_walletEditor.default,
94
94
  WalletList: () => import_walletList.default,
95
+ WalletPassGallery: () => import_walletPassGallery.default,
95
96
  WorkspaceList: () => import_workSpaceList.default,
96
97
  WorkspaceListDetail: () => import_workSpaceListDetail.default
97
98
  });
@@ -122,7 +123,6 @@ var import_taxSelect = __toESM(require("./components/taxSelect"));
122
123
  var import_eftposPay = __toESM(require("./components/eftposPay"));
123
124
  var import_toC = __toESM(require("./components/pay/toC"));
124
125
  var import_eftpos = __toESM(require("./components/eftpos"));
125
- var import_wallet = __toESM(require("./components/wallet"));
126
126
  var import_walletList = __toESM(require("./components/walletList"));
127
127
  var import_dashboard = __toESM(require("./components/booking/dashboard"));
128
128
  var import_pisellSelectCustomerModal = __toESM(require("./components/pisellSelectCustomerModal"));
@@ -154,6 +154,8 @@ var import_admin = require("./components/authentication/admin");
154
154
  var import_contactInfo = __toESM(require("./plus/contactInfo"));
155
155
  var import_contactInfoModal = __toESM(require("./plus/contactInfoModal"));
156
156
  var import_Login2 = require("./pro/Login2.0");
157
+ var import_walletEditor = __toESM(require("./plus/walletEditor"));
158
+ var import_walletPassGallery = __toESM(require("./plus/walletPassGallery"));
157
159
  import_dayjs.default.extend(import_weekday.default);
158
160
  import_dayjs.default.extend(import_localeData.default);
159
161
  // Annotate the CommonJS export names for ESM import in node:
@@ -219,8 +221,9 @@ import_dayjs.default.extend(import_localeData.default);
219
221
  ToCPay,
220
222
  VerticalAddService,
221
223
  VerticalClient,
222
- Wallet,
224
+ WalletEditor,
223
225
  WalletList,
226
+ WalletPassGallery,
224
227
  WorkspaceList,
225
228
  WorkspaceListDetail
226
229
  });
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { IClientNameProps } from './type';
4
3
  declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ContactInfoContent: (props: any) => JSX.Element;
4
3
  export default ContactInfoContent;
@@ -7,11 +7,13 @@ declare type TabItem = {
7
7
  icon?: React.ReactNode;
8
8
  };
9
9
  interface IProps {
10
+ className?: string;
10
11
  items: TabItem[];
11
12
  activeKey: string;
12
13
  onChange: (key: string) => void;
13
14
  loading?: boolean;
14
15
  skeleton?: React.ReactNode;
16
+ style?: React.CSSProperties;
15
17
  }
16
18
  declare const CategoryTabs: React.ForwardRefExoticComponent<IProps & React.RefAttributes<unknown>>;
17
19
  export default CategoryTabs;