@pisell/private-materials 6.5.11 → 6.5.13

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 (425) 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 +3 -3
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +3 -3
  11. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  16. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/components/Services/index.js +36 -18
  18. package/es/components/appointmentBooking/hooks.js +6 -0
  19. package/es/components/booking/addons/model.d.ts +1 -10
  20. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  21. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  22. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  23. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  24. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  25. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  26. package/es/components/booking/components/footer/index.js +12 -1
  27. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  28. package/es/components/booking/editBookingModal/index.js +8 -2
  29. package/es/components/booking/forms/footer.d.ts +0 -1
  30. package/es/components/booking/forms/model.d.ts +1 -10
  31. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  32. package/es/components/booking/forms/single/index.d.ts +0 -1
  33. package/es/components/booking/forms/table/index.d.ts +0 -1
  34. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  35. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  36. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  37. package/es/components/booking/info/date/index.d.ts +0 -1
  38. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  39. package/es/components/booking/info/model.d.ts +1 -10
  40. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  41. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  42. package/es/components/booking/info/service/like/index.d.ts +0 -1
  43. package/es/components/booking/info/service2/utils.d.ts +1 -1
  44. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  45. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  46. package/es/components/booking/locales.d.ts +6 -0
  47. package/es/components/booking/locales.js +12 -0
  48. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  49. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  50. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  51. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  52. package/es/components/booking/model.d.ts +1 -9
  53. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  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 +2 -2
  57. package/es/components/checkout/PaymentModal.js +79 -65
  58. package/es/components/checkout/components/AmountSummary/index.js +4 -4
  59. package/es/components/checkout/components/CashPaymentModule/index.d.ts +3 -1
  60. package/es/components/checkout/components/CashPaymentModule/index.js +14 -10
  61. package/es/components/checkout/components/PaymentDetailModal/index.js +5 -14
  62. package/es/components/checkout/components/PaymentOptionsModule/index.js +4 -1
  63. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  64. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  65. package/es/components/eftpos/form/index.d.ts +0 -1
  66. package/es/components/eftpos/group/index.d.ts +0 -1
  67. package/es/components/eftpos/hooks.d.ts +0 -1
  68. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  69. package/es/components/eftpos/icon/device.d.ts +0 -1
  70. package/es/components/eftpos/index.d.ts +0 -1
  71. package/es/components/eftpos/pos.d.ts +0 -1
  72. package/es/components/eftpos/receipt/index.d.ts +0 -1
  73. package/es/components/eftposPay/amount.d.ts +1 -2
  74. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  75. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  76. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  77. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  78. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  79. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  80. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  81. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  82. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  83. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  84. package/es/components/eftposPay/device.d.ts +1 -1
  85. package/es/components/eftposPay/hooks.d.ts +2 -2
  86. package/es/components/eftposPay/linkly/hooks/normal.js +3 -3
  87. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +60 -17
  88. package/es/components/eftposPay/pay.d.ts +0 -1
  89. package/es/components/eftposPay/payo/config.d.ts +0 -1
  90. package/es/components/eftposPay/payo/config.js +10 -10
  91. package/es/components/eftposPay/serve.js +1 -1
  92. package/es/components/eftposPay/store/index.d.ts +6 -6
  93. package/es/components/eftposPay/tip.d.ts +0 -1
  94. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  95. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  96. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  97. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  98. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  99. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  100. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  101. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  102. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  103. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  104. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  105. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  106. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  107. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  108. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  109. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  110. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  111. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  112. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  113. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  114. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  115. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  116. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  117. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  118. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  119. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  120. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  121. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  122. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  123. package/es/components/index.d.ts +3 -1
  124. package/es/components/index.js +3 -1
  125. package/es/components/login/index.d.ts +0 -1
  126. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +6 -3
  127. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  128. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  129. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  130. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +2 -0
  131. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +112 -24
  132. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +38 -2
  133. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.js +78 -0
  134. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +6 -0
  135. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +9 -0
  136. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  137. package/es/components/pay/toC/model.d.ts +1 -9
  138. package/es/components/pay/toC/utils.js +1 -1
  139. package/es/components/pinModal/hooks.d.ts +7 -0
  140. package/es/components/pinModal/hooks.js +65 -0
  141. package/es/components/pinModal/index.d.ts +4 -0
  142. package/es/components/pinModal/index.js +98 -0
  143. package/es/components/pinModal/index.less +44 -0
  144. package/es/components/pinModal/locales.d.ts +27 -0
  145. package/es/components/pinModal/locales.js +26 -0
  146. package/es/components/pinModal/serve.d.ts +6 -0
  147. package/es/components/pinModal/serve.js +11 -0
  148. package/es/components/pinModal/types.d.ts +0 -0
  149. package/es/components/pinModal/types.js +0 -0
  150. package/es/components/pinVerifyModal/hooks.d.ts +7 -0
  151. package/es/components/pinVerifyModal/hooks.js +80 -0
  152. package/es/components/pinVerifyModal/index.d.ts +5 -0
  153. package/es/components/pinVerifyModal/index.js +218 -0
  154. package/es/components/pinVerifyModal/index.less +92 -0
  155. package/es/components/pinVerifyModal/locales.d.ts +24 -0
  156. package/es/components/pinVerifyModal/locales.js +23 -0
  157. package/es/components/pinVerifyModal/types.d.ts +33 -0
  158. package/es/components/pinVerifyModal/types.js +1 -0
  159. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  160. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  161. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  162. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  163. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  164. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  165. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  166. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  167. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  168. package/es/components/productExtension/fields/SelectResourcesTable/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/index.d.ts +0 -1
  175. package/es/components/schedules/model.d.ts +1 -9
  176. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  177. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  178. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  179. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  180. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  181. package/es/components/schedules/products/index.d.ts +0 -1
  182. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  183. package/es/components/schedules/products/list/index.d.ts +0 -1
  184. package/es/components/schedules/resources/index.d.ts +0 -1
  185. package/es/components/schedules/resources/list/index.d.ts +0 -1
  186. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  187. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  188. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  189. package/es/components/schedules/schedules/index.d.ts +0 -1
  190. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  191. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  192. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  193. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  194. package/es/components/shoppingCart/index.d.ts +0 -1
  195. package/es/components/ticketBooking/components/ticketBooking/index.js +56 -10
  196. package/es/components/ticketBooking/components/timeBar/index.js +2 -1
  197. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  198. package/es/components/wallet/Detail/model.d.ts +1 -13
  199. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  200. package/es/components/wallet/PointCard/model.d.ts +1 -13
  201. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  202. package/es/components/wallet/Voucher/model.d.ts +1 -13
  203. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  204. package/es/components/wallet/model.d.ts +1 -9
  205. package/es/components/walletList/index.js +20 -2
  206. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  207. package/es/index.d.ts +2 -0
  208. package/es/index.js +3 -1
  209. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  210. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  211. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  212. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  213. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  214. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  215. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  216. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  217. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  218. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  219. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  220. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  221. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  222. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  223. package/lib/components/appointmentBooking/components/Services/index.js +13 -3
  224. package/lib/components/appointmentBooking/hooks.js +6 -0
  225. package/lib/components/booking/addons/model.d.ts +1 -10
  226. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  227. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  228. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  229. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  230. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  231. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  232. package/lib/components/booking/components/footer/index.js +15 -2
  233. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  234. package/lib/components/booking/editBookingModal/index.js +6 -1
  235. package/lib/components/booking/forms/footer.d.ts +0 -1
  236. package/lib/components/booking/forms/model.d.ts +1 -10
  237. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  238. package/lib/components/booking/forms/single/index.d.ts +0 -1
  239. package/lib/components/booking/forms/table/index.d.ts +0 -1
  240. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  241. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  242. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  243. package/lib/components/booking/info/date/index.d.ts +0 -1
  244. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  245. package/lib/components/booking/info/model.d.ts +1 -10
  246. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  247. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  248. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  249. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  250. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  251. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  252. package/lib/components/booking/locales.d.ts +6 -0
  253. package/lib/components/booking/locales.js +6 -0
  254. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  255. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  256. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  257. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  258. package/lib/components/booking/model.d.ts +1 -9
  259. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  260. package/lib/components/booking/notes/model.d.ts +1 -10
  261. package/lib/components/booking/payments/model.d.ts +1 -10
  262. package/lib/components/booking/utils.d.ts +2 -2
  263. package/lib/components/checkout/PaymentModal.js +9 -3
  264. package/lib/components/checkout/components/AmountSummary/index.js +4 -4
  265. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +3 -1
  266. package/lib/components/checkout/components/CashPaymentModule/index.js +6 -3
  267. package/lib/components/checkout/components/PaymentDetailModal/index.js +5 -10
  268. package/lib/components/checkout/components/PaymentOptionsModule/index.js +3 -1
  269. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  270. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  271. package/lib/components/eftpos/form/index.d.ts +0 -1
  272. package/lib/components/eftpos/group/index.d.ts +0 -1
  273. package/lib/components/eftpos/hooks.d.ts +0 -1
  274. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  275. package/lib/components/eftpos/icon/device.d.ts +0 -1
  276. package/lib/components/eftpos/index.d.ts +0 -1
  277. package/lib/components/eftpos/pos.d.ts +0 -1
  278. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  279. package/lib/components/eftposPay/amount.d.ts +1 -2
  280. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  281. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  282. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  283. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  284. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  285. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  286. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  287. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  288. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  289. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  290. package/lib/components/eftposPay/device.d.ts +1 -1
  291. package/lib/components/eftposPay/hooks.d.ts +2 -2
  292. package/lib/components/eftposPay/linkly/hooks/normal.js +3 -3
  293. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +59 -15
  294. package/lib/components/eftposPay/pay.d.ts +0 -1
  295. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  296. package/lib/components/eftposPay/payo/config.js +9 -9
  297. package/lib/components/eftposPay/serve.js +1 -1
  298. package/lib/components/eftposPay/store/index.d.ts +6 -6
  299. package/lib/components/eftposPay/tip.d.ts +0 -1
  300. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  301. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  302. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  303. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  304. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  305. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  306. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  307. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  308. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  309. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  310. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  311. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  312. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  313. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  314. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  315. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  316. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  317. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  318. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  319. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  320. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  321. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  322. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  323. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  324. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  325. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  326. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  327. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  328. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  329. package/lib/components/index.d.ts +3 -1
  330. package/lib/components/index.js +6 -0
  331. package/lib/components/login/index.d.ts +0 -1
  332. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +2 -0
  333. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  334. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  335. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  336. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +2 -0
  337. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +84 -36
  338. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +38 -2
  339. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.js +18 -0
  340. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +6 -0
  341. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +7 -2
  342. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  343. package/lib/components/pay/toC/model.d.ts +1 -9
  344. package/lib/components/pay/toC/utils.js +1 -1
  345. package/lib/components/pinModal/hooks.d.ts +7 -0
  346. package/lib/components/pinModal/hooks.js +85 -0
  347. package/lib/components/pinModal/index.d.ts +4 -0
  348. package/lib/components/pinModal/index.js +88 -0
  349. package/lib/components/pinModal/index.less +44 -0
  350. package/lib/components/pinModal/locales.d.ts +27 -0
  351. package/lib/components/pinModal/locales.js +50 -0
  352. package/lib/components/pinModal/serve.d.ts +6 -0
  353. package/lib/components/pinModal/serve.js +37 -0
  354. package/lib/components/pinModal/types.d.ts +0 -0
  355. package/lib/components/pinModal/types.js +0 -0
  356. package/lib/components/pinVerifyModal/hooks.d.ts +7 -0
  357. package/lib/components/pinVerifyModal/hooks.js +93 -0
  358. package/lib/components/pinVerifyModal/index.d.ts +5 -0
  359. package/lib/components/pinVerifyModal/index.js +230 -0
  360. package/lib/components/pinVerifyModal/index.less +92 -0
  361. package/lib/components/pinVerifyModal/locales.d.ts +24 -0
  362. package/lib/components/pinVerifyModal/locales.js +47 -0
  363. package/lib/components/pinVerifyModal/types.d.ts +33 -0
  364. package/lib/components/pinVerifyModal/types.js +17 -0
  365. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  366. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  367. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  368. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  369. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  370. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  371. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  372. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  373. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  374. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  375. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  376. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  377. package/lib/components/schedules/calendar/index.d.ts +0 -1
  378. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  379. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  380. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  381. package/lib/components/schedules/model.d.ts +1 -9
  382. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  383. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  384. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  385. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  386. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  387. package/lib/components/schedules/products/index.d.ts +0 -1
  388. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  389. package/lib/components/schedules/products/list/index.d.ts +0 -1
  390. package/lib/components/schedules/resources/index.d.ts +0 -1
  391. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  392. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  393. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  394. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  395. package/lib/components/schedules/schedules/index.d.ts +0 -1
  396. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  397. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  398. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  399. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  400. package/lib/components/shoppingCart/index.d.ts +0 -1
  401. package/lib/components/ticketBooking/components/ticketBooking/index.js +52 -5
  402. package/lib/components/ticketBooking/components/timeBar/index.js +2 -1
  403. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  404. package/lib/components/wallet/Detail/model.d.ts +1 -13
  405. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  406. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  407. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  408. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  409. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  410. package/lib/components/wallet/model.d.ts +1 -9
  411. package/lib/components/walletList/index.js +19 -2
  412. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  413. package/lib/index.d.ts +2 -0
  414. package/lib/index.js +6 -0
  415. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  416. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  417. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  418. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  419. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  420. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  421. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  422. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  423. package/lowcode/pin-modal/meta.ts +37 -0
  424. package/lowcode/pin-verify-modal/meta.ts +80 -0
  425. package/package.json +1 -1
@@ -0,0 +1,33 @@
1
+ export interface PinVerifyModalProps {
2
+ onOpen?: () => void;
3
+ onClose?: () => void;
4
+ onSuccess?: (params?: VerifyPinSuccessParams) => void;
5
+ }
6
+ export interface PinVerifyModalRef {
7
+ open: (params: ModalParams) => void;
8
+ close: () => void;
9
+ }
10
+ export interface ModalParams {
11
+ wallet_code: string;
12
+ wallet_detail_id: string | number;
13
+ failed_count?: number;
14
+ check_max_count?: number;
15
+ customer?: {
16
+ display_name?: string;
17
+ nickname?: string;
18
+ cover?: string;
19
+ };
20
+ }
21
+ export interface VerifyInfo {
22
+ remaining_count?: number;
23
+ failed_count?: number;
24
+ check_max_count?: number;
25
+ }
26
+ export declare type TVerifyPin = (data: {
27
+ wallet_detail_id: string | number;
28
+ pin: string;
29
+ }, onSuccess: (params: VerifyPinSuccessParams) => void) => void;
30
+ export interface VerifyPinSuccessParams {
31
+ customer_id: string | number;
32
+ customer_pin_key: string;
33
+ }
@@ -0,0 +1,17 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+
15
+ // src/components/pinVerifyModal/types.ts
16
+ var types_exports = {};
17
+ module.exports = __toCommonJS(types_exports);
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
3
2
  export default DateSectionCom;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const GenderField: (props: any) => JSX.Element;
3
2
  export default GenderField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface AddClientProps {
4
3
  onChange: (value: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface CustomerListProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Actor: ({ name }: {
3
2
  name: string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface InfoProps {
3
2
  relation_id: any;
4
3
  action: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItemPreview;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface valueType {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
4
3
  export default SelectResourcesTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface RuleSettingProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from "../type";
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Calendar: () => JSX.Element;
4
3
  export default Calendar;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type CurrentDayProps = {
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from "../../type";
3
2
  import "./index.less";
4
3
  declare type ScheduleDetailListPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from 'antd';
3
2
  import { ScheduleItem } from '../../type';
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem, ScheduleItem } from "./type";
3
2
  import dayjs from "dayjs";
4
3
  export interface FormState {
@@ -69,11 +68,4 @@ export interface FormState {
69
68
  };
70
69
  setGlobalState: Function | null;
71
70
  }
72
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
- state: FormState;
74
- } & {
75
- dispatch: (params: {
76
- type: string;
77
- payload: any;
78
- }) => void;
79
- }>;
71
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ResourcesModule: ({ product }: {
3
2
  product: any;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetail: ({ form, currentProduct, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailByDate: () => JSX.Element;
4
3
  export default ProductDetailByDate;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailDrawer: () => JSX.Element;
4
3
  export default ProductDetailDrawer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Products: () => JSX.Element;
4
3
  export default Products;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface ProductListProps {
4
3
  loading: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resources: () => JSX.Element;
4
3
  export default Resources;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ResourcesListProps = {
4
3
  list: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from '../../type';
3
2
  import './index.less';
4
3
  declare type AllSchedulesPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DrawerProps } from "antd";
3
2
  import { ScheduleItem } from "../../type";
4
3
  import "./index.less";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SchedulesConnect: () => JSX.Element;
3
2
  export default SchedulesConnect;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Content: () => JSX.Element;
4
3
  export default Content;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useAddService: (id?: number, type?: string) => JSX.Element | null;
3
2
  export default useAddService;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useClearCart: (key?: number | undefined) => JSX.Element | null;
3
2
  export default useClearCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { shoppingCartProps } from './type';
3
2
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
4
3
  export default shoppingCart;
@@ -59,6 +59,7 @@ var import_utils4 = require("../bookingDataPanel/bookingList/utils");
59
59
  var import_pisellos = require("../../hooks/pisellos");
60
60
  var import_ahooks = require("ahooks");
61
61
  var import_useScanManager = __toESM(require("../../hooks/pisellos/useScanManager"));
62
+ var import_ahooks2 = require("ahooks");
62
63
  var _formatBookingDetail = (data, modalState) => {
63
64
  var _a, _b, _c, _d;
64
65
  let {
@@ -279,7 +280,9 @@ var TicketBooking = (props) => {
279
280
  if (isTerminal()) {
280
281
  const userAgent = navigator.userAgent;
281
282
  if (userAgent.includes("terminal")) {
282
- const terminalVersionMatch = userAgent.match(/terminal\/[\d.]+\((\d+)\)/i);
283
+ const terminalVersionMatch = userAgent.match(
284
+ /terminal\/[\d.]+\((\d+)\)/i
285
+ );
283
286
  if (terminalVersionMatch && terminalVersionMatch[1]) {
284
287
  const buildNumberStr = terminalVersionMatch[1];
285
288
  const buildNumber = parseInt(buildNumberStr, 10);
@@ -312,6 +315,47 @@ var TicketBooking = (props) => {
312
315
  closeScan();
313
316
  };
314
317
  }, []);
318
+ const { run: clearAllCart } = (0, import_ahooks2.useDebounceFn)(
319
+ (type, orderId) => {
320
+ var _a2, _b2, _c2, _d2, _e2, _f, _g, _h;
321
+ try {
322
+ _initFn(() => {
323
+ });
324
+ setState({
325
+ createCount: state.createCount + 1
326
+ });
327
+ (0, import_utils.sendWarningLog)({
328
+ title: "清空购物车",
329
+ content: [
330
+ {
331
+ key: "店铺id",
332
+ value: (_d2 = (_c2 = (_b2 = (_a2 = store == null ? void 0 : store.getState) == null ? void 0 : _a2.call(store)) == null ? void 0 : _b2.global) == null ? void 0 : _c2.globalConfig) == null ? void 0 : _d2.id
333
+ },
334
+ { key: "订单id", value: orderId },
335
+ { key: "类型", value: type }
336
+ ]
337
+ });
338
+ } catch (err) {
339
+ (0, import_utils.sendWarningLog)({
340
+ title: "清空购物车失败",
341
+ content: [
342
+ {
343
+ key: "店铺id",
344
+ value: (_h = (_g = (_f = (_e2 = store == null ? void 0 : store.getState) == null ? void 0 : _e2.call(store)) == null ? void 0 : _f.global) == null ? void 0 : _g.globalConfig) == null ? void 0 : _h.id
345
+ },
346
+ { key: "订单id", value: orderId },
347
+ { key: "类型", value: type },
348
+ { key: "error", value: err == null ? void 0 : err.message }
349
+ ]
350
+ });
351
+ }
352
+ },
353
+ {
354
+ wait: 500,
355
+ leading: true,
356
+ trailing: false
357
+ }
358
+ );
315
359
  (0, import_react.useEffect)(() => {
316
360
  var _a2, _b2, _c2, _d2, _e2;
317
361
  localStorage.removeItem("bookingResourceList");
@@ -374,6 +418,7 @@ var TicketBooking = (props) => {
374
418
  console.log("bookingTicket.clearAllCart");
375
419
  _initFn(() => {
376
420
  });
421
+ _setIntervalTime(true);
377
422
  selectCustomer(null);
378
423
  enableAllScanListeners();
379
424
  setState({
@@ -619,7 +664,6 @@ var TicketBooking = (props) => {
619
664
  num: 500,
620
665
  extension_type: ["product_add_time"]
621
666
  });
622
- console.log("wwww", data);
623
667
  setState({
624
668
  addTimeProducts: (data == null ? void 0 : data.list) || []
625
669
  });
@@ -917,7 +961,6 @@ var TicketBooking = (props) => {
917
961
  isShowDeposit: state.isShowDeposit,
918
962
  disableEventBookingEdit: state.disableEventBookingEdit,
919
963
  list: state.list,
920
- intervalSetTime: state.intervalSetTime,
921
964
  createCount: state.createCount,
922
965
  bookingFunctions: state.bookingFunctions,
923
966
  isParallelResourcesBooking: state.isParallelResourcesBooking
@@ -1170,9 +1213,13 @@ var TicketBooking = (props) => {
1170
1213
  {
1171
1214
  open: showTerminalUpgradeModal,
1172
1215
  title: import_utils.locales.getText("pisell2.ticket-booking.terminal-upgrade-title"),
1173
- describe: import_utils.locales.getText("pisell2.ticket-booking.terminal-upgrade-description"),
1216
+ describe: import_utils.locales.getText(
1217
+ "pisell2.ticket-booking.terminal-upgrade-description"
1218
+ ),
1174
1219
  okText: import_utils.locales.getText("pisell2.ticket-booking.terminal-upgrade-ok"),
1175
- cancelText: import_utils.locales.getText("pisell2.ticket-booking.terminal-upgrade-cancel"),
1220
+ cancelText: import_utils.locales.getText(
1221
+ "pisell2.ticket-booking.terminal-upgrade-cancel"
1222
+ ),
1176
1223
  closable: true,
1177
1224
  onOk: () => setShowTerminalUpgradeModal(false),
1178
1225
  onCancel: () => setShowTerminalUpgradeModal(false)
@@ -37,6 +37,7 @@ var import_icons = require("@ant-design/icons");
37
37
  var import_materials = require("@pisell/materials");
38
38
  var import_ahooks = require("ahooks");
39
39
  var import_antd = require("antd");
40
+ var import_dayjs = __toESM(require("dayjs"));
40
41
  var import_classnames = __toESM(require("classnames"));
41
42
  var import_utils = require("@pisell/utils");
42
43
  var import_index = require("./index.less");
@@ -74,7 +75,7 @@ var TimeBar = (props) => {
74
75
  setGlobalState({
75
76
  isTimeChange: true
76
77
  });
77
- (_d = props.setIntervalTime) == null ? void 0 : _d.call(props, false);
78
+ (_d = props.setIntervalTime) == null ? void 0 : _d.call(props, timeString === (0, import_dayjs.default)().format("HH:mm"));
78
79
  });
79
80
  return (0, import_react.useMemo)(() => {
80
81
  var _a2, _b2, _c, _d;
@@ -41,7 +41,7 @@ declare type ScanData = {
41
41
  };
42
42
  };
43
43
  export declare const formatScanCustomer: (data: ScanData) => {
44
- searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
44
+ searchType: "customer" | "product" | "walletPass" | "wallet" | "local_product";
45
45
  data: any;
46
46
  scanCode: string;
47
47
  } | null;
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- addWalletCard: any;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- walletDetailState: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,14 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: number;
4
- setup?: 'menu' | 'list' | 'detail' | string;
5
- }
6
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
7
- state: RechargeState;
8
- } & {
9
- dispatch: (params: {
10
- type: string;
11
- payload: any;
12
- }) => void;
13
- }>;
14
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,29 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from '../serve';
3
2
  /**
4
3
  * 钱包卡片Hook的参数
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from './serve';
3
2
  export interface WalletCardItemProps {
4
3
  id: string;
@@ -27,11 +26,4 @@ export interface WalletListProps {
27
26
  currentSearchListItemCode?: string;
28
27
  [key: string]: any;
29
28
  }
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
- }>;
29
+ export declare const Provider: any, Context: any;
@@ -45,6 +45,7 @@ var import_locales = __toESM(require("./locales"));
45
45
  var import_index = require("./index.less");
46
46
  var import_classnames = __toESM(require("classnames"));
47
47
  var import_types = require("./types");
48
+ var import_pinModal = __toESM(require("../pinModal"));
48
49
  var STORAGE_KEY = "pisell_wallet_list_data";
49
50
  var STORAGE_KEY_BALANCE = "pisell_wallet_balance_data";
50
51
  var safeLocalStorage = {
@@ -134,6 +135,7 @@ var WalletList = (0, import_model.Provider)((props) => {
134
135
  const [walletShopList, setWalletShopList] = (0, import_react.useState)([]);
135
136
  const requestIdRef = (0, import_react.useRef)("");
136
137
  const pubsub = utils == null ? void 0 : utils.pubsub;
138
+ const pinModalRef = (0, import_react.useRef)(null);
137
139
  const isUserLoggedIn = (0, import_react.useMemo)(() => {
138
140
  var _a2, _b2;
139
141
  return !!((_b2 = (_a2 = utils == null ? void 0 : utils.token) == null ? void 0 : _a2.get) == null ? void 0 : _b2.call(_a2)) || false;
@@ -370,6 +372,14 @@ var WalletList = (0, import_model.Provider)((props) => {
370
372
  });
371
373
  }
372
374
  };
375
+ const onViewPinClick = (card) => {
376
+ var _a2;
377
+ if (card == null ? void 0 : card.id) {
378
+ (_a2 = pinModalRef.current) == null ? void 0 : _a2.open(card == null ? void 0 : card.id);
379
+ } else {
380
+ console.error("onViewPinClick方法需要传入wallet_detail_id");
381
+ }
382
+ };
373
383
  const renderWalletCard = (item) => {
374
384
  var _a2;
375
385
  const { code, shop, wallet, id } = item;
@@ -423,7 +433,14 @@ var WalletList = (0, import_model.Provider)((props) => {
423
433
  isLogin: isUserLoggedIn
424
434
  // 添加登录状态
425
435
  };
426
- return /* @__PURE__ */ import_react.default.createElement(import_materials.WalletCard, { key: id, ...cardProps });
436
+ return /* @__PURE__ */ import_react.default.createElement(
437
+ import_materials.WalletCard,
438
+ {
439
+ key: id,
440
+ ...cardProps,
441
+ onViewPinClick: () => onViewPinClick(item)
442
+ }
443
+ );
427
444
  };
428
445
  const carouselProps = {
429
446
  className: (0, import_classnames.default)("pisell-lowcode__walletList"),
@@ -545,7 +562,7 @@ var WalletList = (0, import_model.Provider)((props) => {
545
562
  }
546
563
  }
547
564
  )
548
- )));
565
+ )), /* @__PURE__ */ import_react.default.createElement(import_pinModal.default, { ref: pinModalRef }));
549
566
  };
550
567
  return /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-list-wrapper" }, renderContent());
551
568
  });
@@ -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 {
package/lib/index.d.ts CHANGED
@@ -59,3 +59,5 @@ export { default as ProSkuDetailModal } from './pro/skuDetailModal';
59
59
  export { default as SaasLogin } from './plus/saasLogin';
60
60
  export { default as SaasRegister } from './plus/saasRegister';
61
61
  export { default as SaasCreateOrganization } from './plus/saasCreateOrganization';
62
+ export { default as PinModal } from './components/pinModal';
63
+ export { default as PinVerifyModal } from './components/pinVerifyModal';
package/lib/index.js CHANGED
@@ -63,6 +63,8 @@ __export(src_exports, {
63
63
  EventTimeResourceSelector: () => import_timeResourceSelector.default,
64
64
  Login: () => import_login.default,
65
65
  NoteModal: () => import_noteModal.default,
66
+ PinModal: () => import_pinModal.default,
67
+ PinVerifyModal: () => import_pinVerifyModal.default,
66
68
  PisellSelectCustomerModal: () => import_pisellSelectCustomerModal.default,
67
69
  ProNumberKeyboard: () => import_numberKeyboard.default,
68
70
  ProNumberSelector: () => import_pisellNumberSelector.default,
@@ -154,6 +156,8 @@ var import_skuDetailModal = __toESM(require("./pro/skuDetailModal"));
154
156
  var import_saasLogin = __toESM(require("./plus/saasLogin"));
155
157
  var import_saasRegister = __toESM(require("./plus/saasRegister"));
156
158
  var import_saasCreateOrganization = __toESM(require("./plus/saasCreateOrganization"));
159
+ var import_pinModal = __toESM(require("./components/pinModal"));
160
+ var import_pinVerifyModal = __toESM(require("./components/pinVerifyModal"));
157
161
  import_dayjs.default.extend(import_weekday.default);
158
162
  import_dayjs.default.extend(import_localeData.default);
159
163
  // Annotate the CommonJS export names for ESM import in node:
@@ -192,6 +196,8 @@ import_dayjs.default.extend(import_localeData.default);
192
196
  EventTimeResourceSelector,
193
197
  Login,
194
198
  NoteModal,
199
+ PinModal,
200
+ PinVerifyModal,
195
201
  PisellSelectCustomerModal,
196
202
  ProNumberKeyboard,
197
203
  ProNumberSelector,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SCOProps } from '../types';
3
2
  import '../index.less';
4
3
  export declare const Header: (props: SCOProps) => JSX.Element;