@pisell/private-materials 6.5.31 → 6.5.32

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 (495) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +7 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +10 -10
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +10 -10
  11. package/es/components/appointmentBooking/components/Voucher/index.js +2 -1
  12. package/es/components/booking/addons/index.js +25 -17
  13. package/es/components/booking/addons/model.d.ts +1 -10
  14. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  15. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  16. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  17. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  18. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  19. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  20. package/es/components/booking/components/footer/amount.d.ts +1 -0
  21. package/es/components/booking/components/footer/amount.js +529 -79
  22. package/es/components/booking/components/footer/index.js +15 -3
  23. package/es/components/booking/components/footer/utils.d.ts +19 -0
  24. package/es/components/booking/components/footer/utils.js +160 -61
  25. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  26. package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  27. package/es/components/booking/components/voucher/index.js +20 -6
  28. package/es/components/booking/forms/model.d.ts +1 -10
  29. package/es/components/booking/forms/single/index.d.ts +1 -0
  30. package/es/components/booking/forms/table/index.d.ts +1 -0
  31. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  32. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  33. package/es/components/booking/info/date/index.d.ts +1 -0
  34. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  35. package/es/components/booking/info/model.d.ts +1 -10
  36. package/es/components/booking/info/notes/index.d.ts +1 -0
  37. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  38. package/es/components/booking/info/service/like/index.d.ts +1 -0
  39. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  40. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  41. package/es/components/booking/info/service2/utils.js +1 -0
  42. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  43. package/es/components/booking/info2/service/addService/index.js +2 -3
  44. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  45. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  46. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  47. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  48. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  49. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  50. package/es/components/booking/model.d.ts +1 -9
  51. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  52. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  53. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  54. package/es/components/booking/notes/model.d.ts +1 -10
  55. package/es/components/booking/payments/model.d.ts +1 -10
  56. package/es/components/booking/utils.d.ts +1 -0
  57. package/es/components/booking/utils.js +16 -3
  58. package/es/components/checkout/PaymentModal.d.ts +7 -5
  59. package/es/components/checkout/PaymentModal.js +44 -108
  60. package/es/components/checkout/components/AdditionalModule/index.js +2 -0
  61. package/es/components/checkout/components/AmountSummary/index.less +4 -5
  62. package/es/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
  63. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  64. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -1
  65. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  66. package/es/components/eftpos/form/index.d.ts +1 -0
  67. package/es/components/eftpos/group/index.d.ts +1 -0
  68. package/es/components/eftpos/hooks.d.ts +1 -0
  69. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  70. package/es/components/eftpos/icon/device.d.ts +1 -0
  71. package/es/components/eftpos/index.d.ts +1 -0
  72. package/es/components/eftpos/pos.d.ts +1 -0
  73. package/es/components/eftpos/receipt/index.d.ts +1 -0
  74. package/es/components/eftposPay/amount.d.ts +2 -1
  75. package/es/components/eftposPay/app.d.ts +1 -0
  76. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  77. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  78. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  79. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  80. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  81. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  82. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  83. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  84. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  85. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  86. package/es/components/eftposPay/device.d.ts +1 -1
  87. package/es/components/eftposPay/hooks.d.ts +2 -2
  88. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +14 -6
  89. package/es/components/eftposPay/pay.d.ts +1 -0
  90. package/es/components/eftposPay/payo/config.d.ts +1 -0
  91. package/es/components/eftposPay/payo/config.js +70 -32
  92. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  93. package/es/components/eftposPay/payo/payment.js +579 -0
  94. package/es/components/eftposPay/store/index.d.ts +4 -4
  95. package/es/components/eftposPay/tip.d.ts +1 -0
  96. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  97. package/es/components/eftposPay/utils/log/index.d.ts +110 -0
  98. package/es/components/eftposPay/utils/log/index.js +371 -0
  99. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  100. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  101. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  102. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  103. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  104. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  105. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  106. package/es/components/index.d.ts +2 -1
  107. package/es/components/index.js +2 -1
  108. package/es/components/login/index.d.ts +1 -0
  109. package/es/components/pay/toB/components/Cache/index.d.ts +1 -0
  110. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  111. package/es/components/pay/toB/components/Content/Header.d.ts +1 -0
  112. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +13 -11
  113. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  114. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  115. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  116. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  117. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  118. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
  119. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +4 -2
  120. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +2 -0
  121. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +13 -3
  122. package/es/components/pay/toC/index.js +7 -4
  123. package/es/components/pay/toC/locales.d.ts +3 -0
  124. package/es/components/pay/toC/locales.js +6 -3
  125. package/es/components/pay/toC/model.d.ts +1 -9
  126. package/es/components/pay/toC/status.d.ts +1 -0
  127. package/es/components/pay/toC/status.js +3 -0
  128. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  129. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  130. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  131. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  132. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  133. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  134. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  135. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  136. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  137. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  138. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  139. package/es/components/schedules/calendar/index.d.ts +1 -0
  140. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  141. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  142. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  143. package/es/components/schedules/model.d.ts +1 -9
  144. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  145. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  146. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  147. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  148. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  149. package/es/components/schedules/products/index.d.ts +1 -0
  150. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  151. package/es/components/schedules/products/list/index.d.ts +1 -0
  152. package/es/components/schedules/resources/index.d.ts +1 -0
  153. package/es/components/schedules/resources/list/index.d.ts +1 -0
  154. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  155. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  156. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  157. package/es/components/schedules/schedules/index.d.ts +1 -0
  158. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  159. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  160. package/es/components/shoppingCart/index.d.ts +1 -0
  161. package/es/components/subTotal/index.js +1 -1
  162. package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  163. package/es/components/{checkout/PaymentPlugin.js → systemSettings/registry/components/GroupModal.js} +132 -171
  164. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  165. package/es/components/systemSettings/registry/components/ItemModal.js +547 -0
  166. package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  167. package/es/components/systemSettings/registry/components/ModuleList.js +54 -0
  168. package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  169. package/es/components/systemSettings/registry/components/SectionList.js +174 -0
  170. package/es/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
  171. package/es/components/systemSettings/registry/components/SettingsTable.js +765 -0
  172. package/es/components/systemSettings/registry/components/index.d.ts +4 -0
  173. package/es/components/systemSettings/registry/components/index.js +4 -0
  174. package/es/components/systemSettings/registry/index.d.ts +5 -0
  175. package/es/components/systemSettings/registry/index.js +1059 -0
  176. package/es/components/systemSettings/registry/index.less +410 -0
  177. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  178. package/es/components/systemSettings/registry/locales.js +300 -0
  179. package/es/components/systemSettings/registry/services.d.ts +77 -0
  180. package/es/components/systemSettings/registry/services.js +472 -0
  181. package/es/components/systemSettings/registry/types.d.ts +126 -0
  182. package/es/components/systemSettings/registry/types.js +1 -0
  183. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  184. package/es/components/systemSettings/registry/utils/typeValidation.js +284 -0
  185. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  186. package/es/components/systemSettings/registry/utils/validators.js +44 -0
  187. package/es/components/ticketBooking/components/addServiceVariant/addService.js +1 -0
  188. package/es/components/ticketBooking/utils/index.d.ts +3 -0
  189. package/es/components/ticketBooking/utils/index.js +36 -13
  190. package/es/components/wallet/Detail/index.js +34 -2
  191. package/es/components/wallet/Detail/index.less +11 -0
  192. package/es/components/wallet/Detail/locales.d.ts +6 -0
  193. package/es/components/wallet/Detail/locales.js +14 -2
  194. package/es/components/wallet/Detail/model.d.ts +1 -13
  195. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  196. package/es/components/wallet/PointCard/model.d.ts +1 -13
  197. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  198. package/es/components/wallet/Voucher/index.js +11 -10
  199. package/es/components/wallet/Voucher/model.d.ts +1 -13
  200. package/es/components/wallet/components/WalletCard.js +5 -1
  201. package/es/components/wallet/index.js +4 -2
  202. package/es/components/wallet/model.d.ts +1 -9
  203. package/es/components/wallet/serve.d.ts +7 -0
  204. package/es/components/wallet/utils.d.ts +48 -0
  205. package/es/components/wallet/utils.js +342 -0
  206. package/es/hooks/usePaymentLogger.d.ts +1 -0
  207. package/es/index.d.ts +4 -0
  208. package/es/index.js +5 -1
  209. package/es/plus/clientName/index.d.ts +1 -0
  210. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  211. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  212. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  213. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  214. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  215. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  216. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  217. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  218. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  219. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  220. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  221. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  222. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  223. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  224. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  225. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  226. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  227. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  228. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +1 -0
  229. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +1 -0
  230. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  231. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  232. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  233. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  234. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  235. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  236. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  237. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  238. package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  239. package/es/plus/walletPassGallery/components/footerButton/index.js +2 -4
  240. package/es/plus/walletPassGallery/components/footerButton/index.less +14 -59
  241. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  242. package/es/plus/walletPassGallery/components/passDetail/index.js +84 -31
  243. package/es/plus/walletPassGallery/components/passDetail/index.less +4 -0
  244. package/es/plus/walletPassGallery/components/recharge/index.js +19 -8
  245. package/es/plus/walletPassGallery/index.js +7 -3
  246. package/es/plus/walletPassGallery/serve.d.ts +3 -0
  247. package/es/plus/walletPassGallery/serve.js +4 -2
  248. package/es/pro/Login2.0/index.less +15 -8
  249. package/es/pro/pisellPaymentList/example.d.ts +1 -0
  250. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +35 -30
  251. package/lib/components/appointmentBooking/components/Voucher/index.js +2 -1
  252. package/lib/components/booking/addons/index.js +15 -7
  253. package/lib/components/booking/addons/model.d.ts +1 -10
  254. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  255. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  256. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  257. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  258. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  259. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  260. package/lib/components/booking/components/footer/amount.d.ts +1 -0
  261. package/lib/components/booking/components/footer/amount.js +276 -38
  262. package/lib/components/booking/components/footer/index.js +15 -3
  263. package/lib/components/booking/components/footer/utils.d.ts +19 -0
  264. package/lib/components/booking/components/footer/utils.js +109 -33
  265. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  266. package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  267. package/lib/components/booking/components/voucher/index.js +21 -7
  268. package/lib/components/booking/forms/model.d.ts +1 -10
  269. package/lib/components/booking/forms/single/index.d.ts +1 -0
  270. package/lib/components/booking/forms/table/index.d.ts +1 -0
  271. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  272. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  273. package/lib/components/booking/info/date/index.d.ts +1 -0
  274. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  275. package/lib/components/booking/info/model.d.ts +1 -10
  276. package/lib/components/booking/info/notes/index.d.ts +1 -0
  277. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  278. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  279. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  280. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  281. package/lib/components/booking/info/service2/utils.js +1 -0
  282. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  283. package/lib/components/booking/info2/service/addService/index.js +1 -2
  284. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  285. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  286. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  287. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  288. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  289. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  290. package/lib/components/booking/model.d.ts +1 -9
  291. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  292. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  293. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  294. package/lib/components/booking/notes/model.d.ts +1 -10
  295. package/lib/components/booking/payments/model.d.ts +1 -10
  296. package/lib/components/booking/utils.d.ts +1 -0
  297. package/lib/components/booking/utils.js +11 -0
  298. package/lib/components/checkout/PaymentModal.d.ts +7 -5
  299. package/lib/components/checkout/PaymentModal.js +73 -127
  300. package/lib/components/checkout/components/AdditionalModule/index.js +2 -0
  301. package/lib/components/checkout/components/AmountSummary/index.less +4 -5
  302. package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
  303. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  304. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -1
  305. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  306. package/lib/components/eftpos/form/index.d.ts +1 -0
  307. package/lib/components/eftpos/group/index.d.ts +1 -0
  308. package/lib/components/eftpos/hooks.d.ts +1 -0
  309. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  310. package/lib/components/eftpos/icon/device.d.ts +1 -0
  311. package/lib/components/eftpos/index.d.ts +1 -0
  312. package/lib/components/eftpos/pos.d.ts +1 -0
  313. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  314. package/lib/components/eftposPay/amount.d.ts +2 -1
  315. package/lib/components/eftposPay/app.d.ts +1 -0
  316. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  317. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  318. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  319. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  320. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  321. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  322. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  323. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  324. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  325. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  326. package/lib/components/eftposPay/device.d.ts +1 -1
  327. package/lib/components/eftposPay/hooks.d.ts +2 -2
  328. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +12 -6
  329. package/lib/components/eftposPay/pay.d.ts +1 -0
  330. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  331. package/lib/components/eftposPay/payo/config.js +98 -73
  332. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  333. package/lib/components/eftposPay/payo/payment.js +357 -0
  334. package/lib/components/eftposPay/store/index.d.ts +4 -4
  335. package/lib/components/eftposPay/tip.d.ts +1 -0
  336. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  337. package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
  338. package/lib/components/eftposPay/utils/log/index.js +294 -0
  339. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  340. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  341. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  342. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  343. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  344. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  345. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  346. package/lib/components/index.d.ts +2 -1
  347. package/lib/components/index.js +3 -0
  348. package/lib/components/login/index.d.ts +1 -0
  349. package/lib/components/pay/toB/components/Cache/index.d.ts +1 -0
  350. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  351. package/lib/components/pay/toB/components/Content/Header.d.ts +1 -0
  352. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +13 -11
  353. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  354. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  355. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  356. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  357. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  358. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
  359. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +4 -2
  360. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +1 -1
  361. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +13 -3
  362. package/lib/components/pay/toC/index.js +4 -1
  363. package/lib/components/pay/toC/locales.d.ts +3 -0
  364. package/lib/components/pay/toC/locales.js +6 -3
  365. package/lib/components/pay/toC/model.d.ts +1 -9
  366. package/lib/components/pay/toC/status.d.ts +1 -0
  367. package/lib/components/pay/toC/status.js +5 -0
  368. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  369. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  370. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  371. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  372. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  373. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  374. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  375. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  376. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  377. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  378. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  379. package/lib/components/schedules/calendar/index.d.ts +1 -0
  380. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  381. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  382. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  383. package/lib/components/schedules/model.d.ts +1 -9
  384. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  385. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  386. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  387. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  388. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  389. package/lib/components/schedules/products/index.d.ts +1 -0
  390. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  391. package/lib/components/schedules/products/list/index.d.ts +1 -0
  392. package/lib/components/schedules/resources/index.d.ts +1 -0
  393. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  394. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  395. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  396. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  397. package/lib/components/schedules/schedules/index.d.ts +1 -0
  398. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  399. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  400. package/lib/components/shoppingCart/index.d.ts +1 -0
  401. package/lib/components/subTotal/index.js +1 -1
  402. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
  403. package/lib/components/systemSettings/registry/components/GroupModal.js +177 -0
  404. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  405. package/lib/components/systemSettings/registry/components/ItemModal.js +508 -0
  406. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  407. package/lib/components/systemSettings/registry/components/ModuleList.js +71 -0
  408. package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  409. package/lib/components/systemSettings/registry/components/SectionList.js +181 -0
  410. package/lib/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
  411. package/lib/components/systemSettings/registry/components/SettingsTable.js +575 -0
  412. package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
  413. package/lib/components/systemSettings/registry/components/index.js +48 -0
  414. package/lib/components/systemSettings/registry/index.d.ts +5 -0
  415. package/lib/components/systemSettings/registry/index.js +529 -0
  416. package/lib/components/systemSettings/registry/index.less +410 -0
  417. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  418. package/lib/components/systemSettings/registry/locales.js +324 -0
  419. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  420. package/lib/components/systemSettings/registry/services.js +290 -0
  421. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  422. package/lib/components/systemSettings/registry/types.js +17 -0
  423. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  424. package/lib/components/systemSettings/registry/utils/typeValidation.js +228 -0
  425. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  426. package/lib/components/systemSettings/registry/utils/validators.js +54 -0
  427. package/lib/components/ticketBooking/utils/index.d.ts +3 -0
  428. package/lib/components/ticketBooking/utils/index.js +20 -6
  429. package/lib/components/wallet/Detail/index.js +31 -3
  430. package/lib/components/wallet/Detail/index.less +11 -0
  431. package/lib/components/wallet/Detail/locales.d.ts +6 -0
  432. package/lib/components/wallet/Detail/locales.js +14 -2
  433. package/lib/components/wallet/Detail/model.d.ts +1 -13
  434. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  435. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  436. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  437. package/lib/components/wallet/Voucher/index.js +8 -8
  438. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  439. package/lib/components/wallet/components/WalletCard.js +4 -0
  440. package/lib/components/wallet/index.js +2 -2
  441. package/lib/components/wallet/model.d.ts +1 -9
  442. package/lib/components/wallet/serve.d.ts +7 -0
  443. package/lib/components/wallet/utils.d.ts +48 -0
  444. package/lib/components/wallet/utils.js +287 -0
  445. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  446. package/lib/index.d.ts +4 -0
  447. package/lib/index.js +12 -0
  448. package/lib/plus/clientName/index.d.ts +1 -0
  449. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  450. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  451. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  452. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  453. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  454. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  455. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  456. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  457. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  458. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  459. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  460. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  461. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  462. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  463. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  464. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  465. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  466. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  467. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +1 -0
  468. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +1 -0
  469. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  470. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  471. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  472. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  473. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  474. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  475. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  476. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  477. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  478. package/lib/plus/walletPassGallery/components/footerButton/index.js +2 -2
  479. package/lib/plus/walletPassGallery/components/footerButton/index.less +14 -59
  480. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  481. package/lib/plus/walletPassGallery/components/passDetail/index.js +54 -15
  482. package/lib/plus/walletPassGallery/components/passDetail/index.less +4 -0
  483. package/lib/plus/walletPassGallery/components/recharge/index.js +7 -1
  484. package/lib/plus/walletPassGallery/index.js +7 -3
  485. package/lib/plus/walletPassGallery/serve.d.ts +3 -0
  486. package/lib/plus/walletPassGallery/serve.js +3 -2
  487. package/lib/pro/Login2.0/index.less +15 -8
  488. package/lib/pro/pisellPaymentList/example.d.ts +1 -0
  489. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +34 -39
  490. package/lowcode/settings-registry/meta.ts +29 -0
  491. package/lowcode/wallet-pass-detail/meta.ts +89 -0
  492. package/package.json +1 -1
  493. package/es/components/checkout/PaymentPlugin.d.ts +0 -2
  494. package/lib/components/checkout/PaymentPlugin.d.ts +0 -2
  495. package/lib/components/checkout/PaymentPlugin.js +0 -181
@@ -1,83 +1,38 @@
1
1
  .pisell-wallet-pass-gallery_footer {
2
2
  position: relative;
3
- left: 0;
4
- right: 0;
5
- bottom: 0;
6
3
  background-color: #fff;
7
4
  padding: 24px;
8
5
  z-index: 100;
9
6
  border-top: 1px solid #d0d5de;
10
- margin-left: -20px;
11
- margin-right: -20px;
7
+ margin-left: -24px;
8
+ margin-right: -24px;
12
9
  &-buttons {
13
10
  display: flex;
14
11
  gap: 12px;
15
12
  width: 100%;
16
13
 
17
-
18
- .pisell-wallet-pass-gallery_footer-buttons-item-secondary{
19
- overflow: hidden;
20
- display: flex;
21
- >span{
22
- display: block;
23
- // width: 100%;
24
- flex:1;
14
+ .pisell-wallet-pass-gallery_footer-buttons-item-secondary {
15
+ overflow: hidden;
16
+ display: inline-block;
25
17
  white-space: nowrap;
26
18
  overflow: hidden;
27
19
  text-overflow: ellipsis;
28
20
  text-wrap: nowrap;
29
- }
30
- }
31
-
32
-
33
- // 按钮数量样式
34
- // 单个按钮占满宽度
35
- &-count-1 {
36
- .pisell-wallet-pass-gallery_footer-buttons-item {
37
- flex: 1;
38
- width: 100%;
39
- }
40
- }
41
-
42
- // 两个按钮各占一半
43
- &-count-2 {
44
- .pisell-wallet-pass-gallery_footer-buttons-item {
45
- flex: 1;
46
- width: calc(50% - 6px);
21
+ > span {
22
+ display: inline;
47
23
  }
48
24
  }
49
-
50
- // 三个按钮各占三分之一
51
- &-count-3 {
52
- .pisell-wallet-pass-gallery_footer-buttons-item {
53
- flex: 1;
54
- width: calc(33.33% - 8px);
55
- }
56
- }
57
-
58
- // 四个按钮各占四分之一
59
- &-count-4 {
60
- .pisell-wallet-pass-gallery_footer-buttons-item {
61
- flex: 1;
62
- width: calc(25% - 9px);
63
- }
64
- }
65
-
66
- // Ant Design按钮覆盖样式
67
- :global(.ant-btn) {
68
- height: 48px;
69
- border-radius: 6px;
70
- font-size: 16px;
71
- font-weight: 500;
72
- width: 100%;
25
+
26
+ .pisell-wallet-pass-gallery_footer-buttons-item {
27
+ flex-grow: 1;
73
28
  }
74
-
29
+
75
30
  &-item {
76
31
  // 修饰符:主按钮
77
32
  &-primary {
78
- background-color: var(--theme-color, #7F56D9);
33
+ background-color: var(--theme-color, #7f56d9);
79
34
  }
80
-
35
+
81
36
  // 修饰符:次按钮
82
37
  &-secondary {
83
38
  background-color: #fff;
@@ -90,4 +45,4 @@
90
45
 
91
46
  .pisell-wallet-pass-gallery_footer:empty {
92
47
  display: none;
93
- }
48
+ }
@@ -3,6 +3,7 @@ interface PassDetailProps {
3
3
  dataSource?: any | null;
4
4
  platform?: 'pc' | 'h5';
5
5
  buttonGroupList?: any[][];
6
+ showTimeLine?: boolean;
6
7
  }
7
8
  declare const PassDetail: (props: PassDetailProps) => JSX.Element | null;
8
9
  export default PassDetail;
@@ -48,19 +48,26 @@ var import_recharge = __toESM(require("../recharge"));
48
48
  var import_footerButton = __toESM(require("../footerButton"));
49
49
  var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
50
50
  var import_index = require("./index.less");
51
+ var import_utils3 = require("../../../../components/wallet/utils");
52
+ var import_locales = __toESM(require("../../locales"));
53
+ var import_utils4 = require("../../../../utils");
51
54
  var { Text } = import_antd.Typography;
52
55
  var PassDetail = (props) => {
53
- var _a, _b, _c, _d, _e, _f, _g, _h, _i;
54
- if (!props.dataSource) return null;
56
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
55
57
  const { symbol = "$" } = (0, import_materials.usePisellConfig)();
56
- const { dataSource, platform = "pc" } = props;
58
+ const { dataSource, platform = "pc", showTimeLine = true } = props;
57
59
  const [activeKey, setActiveKey] = (0, import_react.useState)("detail");
58
60
  const [rechargeOpen, setRechargeOpen] = (0, import_react.useState)(false);
59
61
  const containerRef = (0, import_react.useRef)(null);
60
62
  const isIndicatorVisibleRef = (0, import_react.useRef)(false);
61
63
  const context = (0, import_useEngineContext.default)();
62
64
  const { store } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || { store: {} };
63
- const timezone = ((_e = (_d = (_c = (_b = store == null ? void 0 : store.getState) == null ? void 0 : _b.call(store)) == null ? void 0 : _c.global) == null ? void 0 : _d.symbol) == null ? void 0 : _e.shop.timezone) || "Asia/Shanghai";
65
+ const { apiPrefix } = ((_b = context.appHelper) == null ? void 0 : _b.constants) || { apiPrefix: "/h5" };
66
+ const timezone = ((_g = (_f = (_e = (_d = (_c = store == null ? void 0 : store.getState) == null ? void 0 : _c.call(store)) == null ? void 0 : _d.global) == null ? void 0 : _e.symbol) == null ? void 0 : _f.shop) == null ? void 0 : _g.timezone) || "Asia/Shanghai";
67
+ import_utils.locales.init(import_locales.default, ((_i = (_h = context == null ? void 0 : context.engine) == null ? void 0 : _h.props) == null ? void 0 : _i.locale) || "en");
68
+ if ((_k = (_j = context.appHelper) == null ? void 0 : _j.utils) == null ? void 0 : _k.request) {
69
+ import_utils4.request.setRequest((_m = (_l = context.appHelper) == null ? void 0 : _l.utils) == null ? void 0 : _m.request);
70
+ }
64
71
  const {
65
72
  id = "",
66
73
  code = "",
@@ -69,17 +76,22 @@ var PassDetail = (props) => {
69
76
  encoded = "",
70
77
  balance,
71
78
  expire_date = "",
72
- product = {}
79
+ product = {},
80
+ custom_schedule_snapshot,
81
+ customer_id
73
82
  } = dataSource || {};
74
83
  const {
75
84
  description = "",
76
85
  extension_data = [],
77
86
  customer_order_behavior_count = 0
78
87
  } = product || {};
79
- const _getDetail = (0, import_ahooks.useRequest)(() => (0, import_serve.getDetailApi)({ id }), {
88
+ const _getDetail = (0, import_ahooks.useRequest)(() => (0, import_serve.getDetailApi)({ id, apiPrefix, order_behavior_count_customer_id: customer_id }), {
80
89
  ready: !!id,
81
- refreshDeps: [id]
90
+ refreshDeps: [id, customer_id]
82
91
  });
92
+ const scheduleList = (0, import_react.useMemo)(() => {
93
+ return (custom_schedule_snapshot == null ? void 0 : custom_schedule_snapshot.data) || [];
94
+ }, [custom_schedule_snapshot]);
83
95
  (0, import_react.useEffect)(() => {
84
96
  if (tag === "product_discount_card") {
85
97
  setActiveKey("detail");
@@ -111,7 +123,29 @@ var PassDetail = (props) => {
111
123
  return () => clearTimeout(timeoutId);
112
124
  }, []);
113
125
  const descs = (0, import_react.useMemo)(() => {
114
- var _a2;
126
+ var _a2, _b2, _c2;
127
+ const detail = (0, import_utils3.formatScheduleText)(scheduleList, (_b2 = (_a2 = context == null ? void 0 : context.engine) == null ? void 0 : _a2.props) == null ? void 0 : _b2.locale);
128
+ let expireText = expire_date ? expire_date : import_utils.locales.getText("wallet-pass-gallery.expireDate");
129
+ if (scheduleList.length > 0) {
130
+ let validityTexts = "";
131
+ let excludedText = "";
132
+ let includedText = "";
133
+ detail.forEach((item) => {
134
+ if (item.validityTexts.length > 0) {
135
+ validityTexts = `${validityTexts}${item.validityTexts.join("\n")}
136
+ `;
137
+ }
138
+ if (item.excluded_date.length > 0) {
139
+ excludedText = `${excludedText}${item.excluded_date.join("\n")}
140
+ `;
141
+ }
142
+ if (item.included_date.length > 0) {
143
+ includedText = `${includedText}${item.included_date.join("\n")}
144
+ `;
145
+ }
146
+ });
147
+ expireText = /* @__PURE__ */ import_react.default.createElement("span", { className: "wallet-detail-expire-text" }, validityTexts, excludedText && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-expire-text-title" }, import_utils.locales.getText("page.wallet.notValidDate")), excludedText, includedText && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-expire-text-title" }, import_utils.locales.getText("page.wallet.includedDate")), includedText);
148
+ }
115
149
  let data = [
116
150
  {
117
151
  label: import_utils.locales.getText("wallet-pass-gallery.cardName"),
@@ -124,11 +158,11 @@ var PassDetail = (props) => {
124
158
  },
125
159
  {
126
160
  label: import_utils.locales.getText("wallet-pass-gallery.validDate"),
127
- value: expire_date ? expire_date : import_utils.locales.getText("wallet-pass-gallery.expireDate")
161
+ value: expireText
128
162
  }
129
163
  ];
130
164
  if (tag === "product_discount_card") {
131
- const isFixedAmount = ((_a2 = dataSource.metadata) == null ? void 0 : _a2.discount_card_type) === "fixed_amount";
165
+ const isFixedAmount = ((_c2 = dataSource.metadata) == null ? void 0 : _c2.discount_card_type) === "fixed_amount";
132
166
  data.splice(2, 0, {
133
167
  label: import_utils.locales.getText("wallet-pass-gallery.discount"),
134
168
  value: balance ? isFixedAmount ? `${symbol}${Number(balance)}` : `${Number(balance)}%` : ""
@@ -195,14 +229,19 @@ var PassDetail = (props) => {
195
229
  };
196
230
  const renderTimeLine = () => {
197
231
  if (tag === "product_discount_card") return null;
232
+ if (!showTimeLine) return null;
198
233
  return /* @__PURE__ */ import_react.default.createElement(import_timelineSection.default, { code, tag, timezone });
199
234
  };
235
+ if (!props.dataSource) return null;
200
236
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
201
237
  "div",
202
238
  {
203
239
  className: (0, import_classnames.default)(
204
240
  `pisell-wallet-pass-gallery_detail`,
205
- `pisell-wallet-pass-gallery_detail-${platform}`
241
+ `pisell-wallet-pass-gallery_detail-${platform}`,
242
+ {
243
+ [`pisell-wallet-pass-gallery_detail-with-footer`]: platform === "h5" && tag === "gift_card"
244
+ }
206
245
  )
207
246
  },
208
247
  /* @__PURE__ */ import_react.default.createElement(
@@ -237,7 +276,7 @@ var PassDetail = (props) => {
237
276
  },
238
277
  /* @__PURE__ */ import_react.default.createElement("div", { "data-anchor": "detail" })
239
278
  ),
240
- /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(Text, { className: "pisell-wallet-pass-gallery_detail-title" }, import_utils.locales.getText("wallet-pass-gallery.details")), platform === "pc" && tag === "gift_card" && ((_f = dataSource == null ? void 0 : dataSource.machinecode_config) == null ? void 0 : _f.hide_recharge) === 0 && /* @__PURE__ */ import_react.default.createElement(
279
+ /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(Text, { className: "pisell-wallet-pass-gallery_detail-title" }, import_utils.locales.getText("wallet-pass-gallery.details")), platform === "pc" && tag === "gift_card" && ((_n = dataSource == null ? void 0 : dataSource.machinecode_config) == null ? void 0 : _n.hide_recharge) === 0 && /* @__PURE__ */ import_react.default.createElement(
241
280
  import_antd.Button,
242
281
  {
243
282
  type: "primary",
@@ -269,9 +308,9 @@ var PassDetail = (props) => {
269
308
  ), platform === "h5" && tag === "gift_card" ? /* @__PURE__ */ import_react.default.createElement(
270
309
  import_footerButton.default,
271
310
  {
272
- appleWalletUrl: (_g = _getDetail.data) == null ? void 0 : _g.apple_wallet_url,
273
- googleWalletUrl: (_h = _getDetail.data) == null ? void 0 : _h.google_wallet_url,
274
- onRechargeClick: ((_i = dataSource == null ? void 0 : dataSource.machinecode_config) == null ? void 0 : _i.hide_recharge) === 0 ? () => setRechargeOpen(true) : void 0,
311
+ appleWalletUrl: (_o = _getDetail.data) == null ? void 0 : _o.apple_wallet_url,
312
+ googleWalletUrl: (_p = _getDetail.data) == null ? void 0 : _p.google_wallet_url,
313
+ onRechargeClick: ((_q = dataSource == null ? void 0 : dataSource.machinecode_config) == null ? void 0 : _q.hide_recharge) === 0 ? () => setRechargeOpen(true) : void 0,
275
314
  platform
276
315
  }
277
316
  ) : null, /* @__PURE__ */ import_react.default.createElement(
@@ -18,6 +18,10 @@
18
18
  padding: 20px 0px;
19
19
  }
20
20
 
21
+ &-with-footer {
22
+ height: calc(100% - 90px);
23
+ }
24
+
21
25
  .pisell-wallet-pass-gallery_detail-content {
22
26
  overflow-y: auto;
23
27
  height: 100%;
@@ -51,6 +51,7 @@ var Recharge = ({
51
51
  const { action, storage } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || {};
52
52
  const dvaStore = (_e = (_d = (_c = (_b = context.appHelper) == null ? void 0 : _b.utils) == null ? void 0 : _c.getStore) == null ? void 0 : _d.call(_c)) == null ? void 0 : _e.getState();
53
53
  const shop = ((_g = (_f = dvaStore == null ? void 0 : dvaStore.core) == null ? void 0 : _f.core) == null ? void 0 : _g.shop) || {};
54
+ const [loading, setLoading] = (0, import_react.useState)(false);
54
55
  (0, import_react.useEffect)(() => {
55
56
  if (detailData) {
56
57
  setChargeItem(((detailData == null ? void 0 : detailData.gift_option) || [])[0]);
@@ -59,6 +60,7 @@ var Recharge = ({
59
60
  const handleRecharge = async () => {
60
61
  var _a2;
61
62
  try {
63
+ setLoading(true);
62
64
  const params = {
63
65
  voucher_id: (detailData == null ? void 0 : detailData.id) || "",
64
66
  product_id: (detailData == null ? void 0 : detailData.product_id) || "",
@@ -87,11 +89,14 @@ var Recharge = ({
87
89
  import_utils.locales.getText("wallet-pass-gallery.log.rechargeOrderFailed"),
88
90
  error
89
91
  );
92
+ } finally {
93
+ setLoading(false);
90
94
  }
91
95
  };
92
96
  return /* @__PURE__ */ import_react.default.createElement(
93
97
  import_antd.Drawer,
94
98
  {
99
+ destroyOnClose: true,
95
100
  title: import_utils.locales.getText("wallet-pass-gallery.rechargeOptions"),
96
101
  open,
97
102
  zIndex: 999,
@@ -105,7 +110,8 @@ var Recharge = ({
105
110
  block: true,
106
111
  size: "large",
107
112
  onClick: handleRecharge,
108
- disabled: !(chargeItem == null ? void 0 : chargeItem.id)
113
+ disabled: !(chargeItem == null ? void 0 : chargeItem.id),
114
+ loading
109
115
  },
110
116
  import_utils.locales.getText("wallet-pass-gallery.recharge")
111
117
  )
@@ -89,7 +89,8 @@ var WalletPassGallery = (props) => {
89
89
  num: 20,
90
90
  skip: (d == null ? void 0 : d.nextId) || 1,
91
91
  tags: TAGS,
92
- filter_wallet_id: walletId || void 0
92
+ filter_wallet_id: walletId || void 0,
93
+ "with": ["customScheduleSnapshot"]
93
94
  });
94
95
  return {
95
96
  list: (res == null ? void 0 : res.list) || [],
@@ -115,7 +116,8 @@ var WalletPassGallery = (props) => {
115
116
  num: 20,
116
117
  skip: (d == null ? void 0 : d.nextId) || 1,
117
118
  tags: TAGS,
118
- filter_wallet_id: walletId || void 0
119
+ filter_wallet_id: walletId || void 0,
120
+ "with": ["customScheduleSnapshot"]
119
121
  });
120
122
  return {
121
123
  list: (res == null ? void 0 : res.list) || [],
@@ -440,7 +442,9 @@ var WalletPassGallery = (props) => {
440
442
  ), /* @__PURE__ */ import_react.default.createElement(
441
443
  import_materials.PisellModal,
442
444
  {
443
- platform: "h5",
445
+ zIndex: 997,
446
+ destroyOnClose: true,
447
+ platform,
444
448
  visible: !!_currentItem,
445
449
  onCancel: () => setCurrentItemId(""),
446
450
  footer: null,
@@ -17,6 +17,7 @@ export interface IWalletListParmsProps {
17
17
  skip?: number;
18
18
  filter_wallet_id?: string;
19
19
  available: 0 | 1;
20
+ with?: string[];
20
21
  }
21
22
  /**
22
23
  * 钱包列表项属性接口
@@ -171,6 +172,8 @@ export declare const getAssetList: (params: IAssetListProps) => Promise<{
171
172
  */
172
173
  export declare const getDetailApi: (params: {
173
174
  id: string;
175
+ order_behavior_count_customer_id: string;
176
+ apiPrefix: string;
174
177
  }) => Promise<IDetailResponse>;
175
178
  /**
176
179
  * 详情响应数据结构,供组件消费
@@ -69,11 +69,12 @@ var getAssetList = async (params) => {
69
69
  return data;
70
70
  };
71
71
  var getDetailApi = async (params) => {
72
- const { data } = await import_utils.request.getRequest().get(`/h5/machinecode/lowcode/detail/${params.id}`, {
72
+ const { data } = await import_utils.request.getRequest().get(`${params.apiPrefix || "/h5"}/machinecode/lowcode/detail/${params.id}`, {
73
73
  order_behavior_count: 1,
74
74
  // 订单行为次数
75
- order_behavior_count_customer: 1
75
+ order_behavior_count_customer: 1,
76
76
  // 客户订单行为次数
77
+ order_behavior_count_customer_id: params.apiPrefix === "/shop" ? params.order_behavior_count_customer_id : void 0
77
78
  });
78
79
  return data;
79
80
  };
@@ -15,6 +15,14 @@
15
15
 
16
16
  /* 默认底部内边距 */
17
17
  padding-bottom: 24px;
18
+
19
+ // 加载状态优化
20
+ .pisell-lowcode-btn-loading-icon {
21
+ .anticon {
22
+ color: #ffffff !important;
23
+ }
24
+ }
25
+
18
26
 
19
27
  /* 在弹窗模式下不需要额外的底部内边距,因为使用 sticky 定位 */
20
28
  .pisell-lowcode-modal-body & {
@@ -462,6 +470,13 @@
462
470
  .login-lm-drawer-popover & {
463
471
  padding-bottom: 100px;
464
472
  }
473
+ // 加载状态优化
474
+ .pisell-lowcode-btn-loading-icon {
475
+ .anticon {
476
+ color: #ffffff !important;
477
+ }
478
+ }
479
+
465
480
  }
466
481
 
467
482
  // 错误提示样式优化
@@ -521,14 +536,6 @@
521
536
  // }
522
537
  // }
523
538
  // }
524
-
525
- // 加载状态优化
526
- .pisell-lowcode-btn-loading-icon {
527
- .anticon {
528
- color: #ffffff !important;
529
- }
530
- }
531
-
532
539
  // 切换认证方式按钮
533
540
  .login2-switch-button {
534
541
  margin-top: 0;
@@ -4,6 +4,7 @@
4
4
  * 这个文件演示了如何使用 PisellPaymentList 和 PisellPaymentListItem 组件
5
5
  * 包括如何通过 Context 访问父组件配置
6
6
  */
7
+ /// <reference types="react" />
7
8
  export declare const BasicExample: () => JSX.Element;
8
9
  export declare const ChildrenExample: () => JSX.Element;
9
10
  export declare const CustomItemExample: () => JSX.Element;
@@ -37,14 +37,14 @@ var import_antd = require("antd");
37
37
  var import_ahooks = require("ahooks");
38
38
  var import_lodash = require("lodash");
39
39
  var import_utils = require("@pisell/utils");
40
- var import_materials = require("@pisell/materials");
41
40
  var import_shortcuts = __toESM(require("../shortcuts"));
42
41
  var import_CashKeyboardSimple = __toESM(require("./CashKeyboardSimple"));
43
42
  var import_utils2 = require("../../utils");
44
43
  var import_index = require("./index.less");
45
44
  var import_decimal = __toESM(require("decimal.js"));
46
- var import_materials2 = require("@pisell/materials");
45
+ var import_materials = require("@pisell/materials");
47
46
  var import_utils3 = require("@pisell/utils");
47
+ var import_materials2 = require("@pisell/materials");
48
48
  var CashKeyboardIntact = (props) => {
49
49
  var _a, _b, _c;
50
50
  const {
@@ -250,7 +250,7 @@ var CashKeyboardIntact = (props) => {
250
250
  )
251
251
  },
252
252
  /* @__PURE__ */ import_react.default.createElement(
253
- import_materials2.AutoResizeText,
253
+ import_materials.AutoResizeText,
254
254
  {
255
255
  minFontSizePx: 10,
256
256
  maxFontSizePx: 18,
@@ -272,58 +272,53 @@ var CashKeyboardIntact = (props) => {
272
272
  {
273
273
  style: {
274
274
  ...getGridStyle(1),
275
- padding: "6px 16px",
275
+ padding: "0px 16px",
276
276
  borderRadius: "8px",
277
277
  backgroundColor: "white",
278
278
  boxShadow: "inset 0 2px 4px rgba(16, 24, 40, 0.08), inset 0 -2px 4px rgba(16, 24, 40, 0.08), inset 2px 0 4px rgba(16, 24, 40, 0.08), inset -2px 0 4px rgba(16, 24, 40, 0.08)",
279
279
  overflow: "hidden",
280
280
  maxWidth: 188,
281
281
  cursor: "pointer",
282
- border: "1px solid #7f56da"
282
+ border: "1px solid #7f56da",
283
+ borderBottom: "1px solid #7f56da"
283
284
  },
284
285
  onClick: () => {
285
286
  setIsShowModal(true);
286
287
  }
287
288
  },
288
289
  /* @__PURE__ */ import_react.default.createElement(
289
- import_materials.VirtualInput,
290
+ "div",
290
291
  {
291
- showCursor: false,
292
- focused: true,
293
- wrapperStyle: {
294
- width: "100%"
292
+ className: "pisell-cash-keyboard-intact-container-top",
293
+ style: { ...getGridStyle(0), overflow: "hidden", padding: "5px 0" }
294
+ },
295
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-cash-keyboard-intact-container-top-label" }, mergedDisplayField.cashReceived.label),
296
+ /* @__PURE__ */ import_react.default.createElement(
297
+ "div",
298
+ {
299
+ className: "pisell-cash-keyboard-intact-container-top-value"
295
300
  },
296
- topContent: /* @__PURE__ */ import_react.default.createElement(
297
- "div",
301
+ /* @__PURE__ */ import_react.default.createElement(
302
+ import_materials.AutoResizeText,
298
303
  {
299
- style: {
300
- fontSize: "14px",
301
- color: "#667085"
302
- }
304
+ minFontSizePx: 10,
305
+ maxFontSizePx: 18,
306
+ fontSizePrecisionPx: 0.5,
307
+ style: { color: "#7f56da", textDecoration: "underline", textUnderlineOffset: "3px" }
303
308
  },
304
- mergedDisplayField.cashReceived.label
309
+ internalValue ? (0, import_utils3.formatAmountWithOptions)(
310
+ internalValue || "",
311
+ amountSymbol,
312
+ {
313
+ value: internalValue,
314
+ hideDecimalForWholeNumbers: false,
315
+ precision: 2,
316
+ showCurrencySymbol: true
317
+ }
318
+ ) : ""
305
319
  ),
306
- value: internalValue ? (0, import_utils3.formatAmountWithOptions)(
307
- internalValue || "",
308
- amountSymbol,
309
- {
310
- value: internalValue,
311
- hideDecimalForWholeNumbers: false,
312
- precision: 2,
313
- showCurrencySymbol: true
314
- }
315
- ) : "",
316
- height: 30,
317
- fontSize: 20,
318
- placeholder,
319
- style: {
320
- fontSize: "24px",
321
- fontWeight: "bold",
322
- border: "none",
323
- background: "transparent",
324
- width: "100%"
325
- }
326
- }
320
+ /* @__PURE__ */ import_react.default.createElement(import_materials2.Iconfont, { type: "pisell2-edit-05", style: { color: "#7f56da", fontSize: "18px", marginLeft: "4px", marginTop: "4px" } })
321
+ )
327
322
  )
328
323
  ), ((_c = mergedDisplayField.changeDue) == null ? void 0 : _c.visible) && /* @__PURE__ */ import_react.default.createElement(
329
324
  "div",
@@ -347,7 +342,7 @@ var CashKeyboardIntact = (props) => {
347
342
  )
348
343
  },
349
344
  /* @__PURE__ */ import_react.default.createElement(
350
- import_materials2.AutoResizeText,
345
+ import_materials.AutoResizeText,
351
346
  {
352
347
  minFontSizePx: 10,
353
348
  maxFontSizePx: 18,
@@ -0,0 +1,29 @@
1
+ import { ComponentMetadata } from '@alilc/lowcode-types';
2
+
3
+
4
+ const SettingsRegistryMeta: ComponentMetadata = {
5
+ componentName: 'SettingsRegistry',
6
+ title: 'SettingsRegistry',
7
+ docUrl: '',
8
+ screenshot: '',
9
+ category: '表单',
10
+ devMode: 'proCode',
11
+ npm: {
12
+ package: '@pisell/private-materials',
13
+ version: '1.0.0',
14
+ exportName: 'SettingsRegistry',
15
+ main: 'src/index.ts',
16
+ destructuring: true,
17
+ subName: '',
18
+ },
19
+ props: [],
20
+ configure: {
21
+ component: {
22
+ isContainer: false,
23
+ },
24
+ },
25
+ };
26
+
27
+ export default {
28
+ ...SettingsRegistryMeta,
29
+ };
@@ -0,0 +1,89 @@
1
+ const Meta = {
2
+ componentName: 'WalletPassDetail',
3
+ title: 'WalletPassDetail',
4
+ docUrl: '',
5
+ screenshot: '',
6
+ devMode: 'proCode',
7
+ npm: {
8
+ package: '@pisell/private-materials',
9
+ version: '1.1.558',
10
+ exportName: 'WalletPassDetail',
11
+ main: 'src/index.ts',
12
+ destructuring: true,
13
+ subName: '',
14
+ },
15
+ configure: {
16
+ props: [
17
+ {
18
+ "title": {
19
+ "label": {
20
+ "type": "i18n",
21
+ "en-US": "详情数据",
22
+ "zh-CN": "详情数据"
23
+ }
24
+ },
25
+ "name": "dataSource",
26
+ "setter": ["JsonSetter", "VariableSetter"],
27
+ },
28
+ {
29
+ "title": {
30
+ "label": {
31
+ "type": "i18n",
32
+ "en-US": "平台",
33
+ "zh-CN": "平台"
34
+ }
35
+ },
36
+ "name": "platform",
37
+ "setter": "StringSetter",
38
+ },
39
+ {
40
+ name: 'buttonGroupList',
41
+ "title": {
42
+ "label": {
43
+ "type": "i18n",
44
+ "en-US": "按钮组列表",
45
+ "zh-CN": "按钮组列表"
46
+ }
47
+ },
48
+ type: 'array',
49
+ default: [],
50
+ setter: 'ArraySetter',
51
+ itemSetter: {
52
+ componentName: 'ObjectSetter',
53
+ props: {
54
+ itemSetter: {
55
+ componentName: 'ObjectSetter',
56
+ props: {
57
+ itemSetter: 'StringSetter',
58
+ },
59
+ },
60
+ },
61
+ },
62
+ },
63
+ {
64
+ name: 'showTimeLine',
65
+ title: { label: '显示时间轴', tip: 'showTimeLine | 显示时间轴' },
66
+ setter: 'BoolSetter',
67
+ },
68
+ ],
69
+ supports: {},
70
+ component: {},
71
+ },
72
+ };
73
+ const snippets = [
74
+ {
75
+ title: 'wallet详情',
76
+ screenshot: '',
77
+ schema: {
78
+ componentName: 'WalletPassDetail',
79
+ props: {
80
+
81
+ },
82
+ },
83
+ },
84
+ ];
85
+
86
+ export default {
87
+ ...Meta,
88
+ snippets,
89
+ };