@pisell/private-materials 6.7.5 → 6.7.6

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 (392) 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 +1 -1
  6. package/build/lowcode/preview.js +5 -5
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/businessModel/SalesModel/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  15. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  16. package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  17. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  18. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  19. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  20. package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  21. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  22. package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
  23. package/es/components/appointmentBooking/index.d.ts +1 -0
  24. package/es/components/booking/addons/index.js +1 -1
  25. package/es/components/booking/components/footer/amount.d.ts +37 -0
  26. package/es/components/booking/components/footer/amount.js +48 -34
  27. package/es/components/booking/components/footer/index.d.ts +1 -0
  28. package/es/components/booking/components/footer/utils.js +38 -38
  29. package/es/components/booking/components/voucher/index.d.ts +1 -0
  30. package/es/components/booking/components/voucher/index.js +3 -1
  31. package/es/components/booking/deposit/index.d.ts +1 -0
  32. package/es/components/booking/forms/footer.d.ts +1 -0
  33. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  34. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  35. package/es/components/booking/hooks/useQuotation.d.ts +1 -0
  36. package/es/components/booking/hooks/useQuotation.js +4 -1
  37. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  38. package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  39. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  40. package/es/components/booking/info/header/index.d.ts +1 -0
  41. package/es/components/booking/info/index.d.ts +1 -0
  42. package/es/components/booking/info/service/Lists.d.ts +1 -0
  43. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  44. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  45. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  46. package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
  47. package/es/components/booking/info/service2/utils.d.ts +251 -0
  48. package/es/components/booking/info2/service/addService/index.d.ts +12 -0
  49. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  50. package/es/components/booking/info2/service/editNormalService/index.js +6 -0
  51. package/es/components/booking/info2/service/editService/index.js +16 -6
  52. package/es/components/booking/info2/service/editService/utils.d.ts +15 -0
  53. package/es/components/booking/info2/service/editService/utils.js +66 -0
  54. package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  55. package/es/components/booking/utils.d.ts +174 -0
  56. package/es/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
  57. package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +16 -0
  58. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  59. package/es/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
  60. package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +1 -0
  61. package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
  62. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  63. package/es/components/checkout/locales.d.ts +513 -0
  64. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  65. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  66. package/es/components/eftposPay/amount.d.ts +1 -1
  67. package/es/components/eftposPay/device.d.ts +1 -1
  68. package/es/components/eftposPay/hooks.d.ts +2 -2
  69. package/es/components/eftposPay/index.d.ts +1 -0
  70. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  71. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  72. package/es/components/eftposPay/payo/config.d.ts +13 -0
  73. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  74. package/es/components/eftposPay/store/index.d.ts +4 -4
  75. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  76. package/es/components/eftposPay/utils/log/index.d.ts +110 -0
  77. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  78. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  79. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  80. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  81. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  82. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  83. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  84. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  85. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  86. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  87. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  88. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  89. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  90. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  91. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  92. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  93. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  94. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  95. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  96. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  97. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  98. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  99. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  100. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  101. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  102. package/es/components/eventBooking/index.d.ts +1 -0
  103. package/es/components/index.d.ts +24 -0
  104. package/es/components/list/List.js +56 -40
  105. package/es/components/list/hooks/useListState.d.ts +5 -3
  106. package/es/components/list/hooks/useListState.js +17 -2
  107. package/es/components/list/styles/header.less +3 -3
  108. package/es/components/list/utils/index.d.ts +13 -1
  109. package/es/components/list/utils/index.js +43 -1
  110. package/es/components/pay/toB/components/Cache/index.d.ts +1 -0
  111. package/es/components/pay/toB/components/Card/index.d.ts +1 -0
  112. package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -0
  113. package/es/components/pay/toB/components/Content/Footer.d.ts +1 -0
  114. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  115. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
  116. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  117. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  118. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  119. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  120. package/es/components/pay/toC/locales.d.ts +301 -0
  121. package/es/components/pay/toC/status.d.ts +13 -0
  122. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  123. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  124. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  125. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  126. package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
  127. package/es/components/productExtension/index.d.ts +1 -0
  128. package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
  129. package/es/components/ruleSetting/index.d.ts +1 -0
  130. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  131. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  132. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  133. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  134. package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
  135. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  136. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  137. package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  138. package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  139. package/es/components/systemSettings/registry/components/index.d.ts +4 -0
  140. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  141. package/es/components/systemSettings/registry/services.d.ts +77 -0
  142. package/es/components/systemSettings/registry/types.d.ts +126 -0
  143. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  144. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  145. package/es/components/taxSelect/index.d.ts +1 -0
  146. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +1 -0
  147. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +33 -2
  148. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +139 -36
  149. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
  150. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  151. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  152. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  153. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  154. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  155. package/es/components/ticketBooking/index.d.ts +1 -0
  156. package/es/components/ticketBooking/locales.d.ts +198 -0
  157. package/es/components/ticketBooking/utils/index.d.ts +93 -0
  158. package/es/components/wallet/Detail/locales.d.ts +153 -0
  159. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  160. package/es/components/wallet/serve.d.ts +150 -0
  161. package/es/components/wallet/utils.d.ts +48 -0
  162. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  163. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  164. package/es/plus/clientCard/locales.d.ts +18 -0
  165. package/es/plus/clinetSearch/index.d.ts +17 -0
  166. package/es/plus/clinetSearch/locales.d.ts +105 -0
  167. package/es/plus/clinetSearch/types.d.ts +61 -0
  168. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +1 -0
  169. package/es/plus/noteModal/AddTempModal.d.ts +1 -0
  170. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +1 -0
  171. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  172. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  173. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  174. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +1 -0
  175. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +1 -0
  176. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  177. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  178. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +1 -0
  179. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +1 -0
  180. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  181. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  182. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +1 -0
  183. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +1 -0
  184. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  185. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +1 -0
  186. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  187. package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  188. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  189. package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -0
  190. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
  191. package/es/plus/walletPassGallery/index.d.ts +1 -0
  192. package/es/plus/walletPassGallery/serve.d.ts +221 -0
  193. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  194. package/es/pro/comprehensiveSearch/locales.d.ts +15 -0
  195. package/es/pro/pisellPhoneKeyboard/index.d.ts +1 -0
  196. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +1 -0
  197. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
  198. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
  199. package/es/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +1 -0
  200. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
  201. package/es/pro/priceKeyboard/hooks/rightItems.d.ts +1 -0
  202. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  203. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  204. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  205. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  206. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  207. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  208. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  209. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  210. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  211. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  212. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  213. package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
  214. package/lib/components/appointmentBooking/index.d.ts +1 -0
  215. package/lib/components/booking/components/footer/amount.d.ts +37 -0
  216. package/lib/components/booking/components/footer/amount.js +29 -15
  217. package/lib/components/booking/components/footer/index.d.ts +1 -0
  218. package/lib/components/booking/components/footer/utils.js +8 -8
  219. package/lib/components/booking/components/voucher/index.d.ts +1 -0
  220. package/lib/components/booking/components/voucher/index.js +4 -2
  221. package/lib/components/booking/deposit/index.d.ts +1 -0
  222. package/lib/components/booking/forms/footer.d.ts +1 -0
  223. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  224. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  225. package/lib/components/booking/hooks/useQuotation.d.ts +1 -0
  226. package/lib/components/booking/hooks/useQuotation.js +2 -1
  227. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  228. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  229. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  230. package/lib/components/booking/info/header/index.d.ts +1 -0
  231. package/lib/components/booking/info/index.d.ts +1 -0
  232. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  233. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  234. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  235. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  236. package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
  237. package/lib/components/booking/info/service2/utils.d.ts +251 -0
  238. package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
  239. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  240. package/lib/components/booking/info2/service/editNormalService/index.js +6 -0
  241. package/lib/components/booking/info2/service/editService/index.js +12 -3
  242. package/lib/components/booking/info2/service/editService/utils.d.ts +15 -0
  243. package/lib/components/booking/info2/service/editService/utils.js +40 -3
  244. package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  245. package/lib/components/booking/utils.d.ts +174 -0
  246. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
  247. package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +16 -0
  248. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  249. package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
  250. package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +1 -0
  251. package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
  252. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  253. package/lib/components/checkout/locales.d.ts +513 -0
  254. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  255. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  256. package/lib/components/eftposPay/amount.d.ts +1 -1
  257. package/lib/components/eftposPay/device.d.ts +1 -1
  258. package/lib/components/eftposPay/hooks.d.ts +2 -2
  259. package/lib/components/eftposPay/index.d.ts +1 -0
  260. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  261. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  262. package/lib/components/eftposPay/payo/config.d.ts +13 -0
  263. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  264. package/lib/components/eftposPay/store/index.d.ts +4 -4
  265. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  266. package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
  267. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  268. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  269. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  270. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  271. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  272. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  273. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  274. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  275. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  276. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  277. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  278. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  279. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  280. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  281. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  282. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  283. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  284. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  285. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  286. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  287. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  288. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  289. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  290. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  291. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  292. package/lib/components/eventBooking/index.d.ts +1 -0
  293. package/lib/components/index.d.ts +24 -0
  294. package/lib/components/list/List.js +34 -16
  295. package/lib/components/list/hooks/useListState.d.ts +5 -3
  296. package/lib/components/list/hooks/useListState.js +14 -1
  297. package/lib/components/list/styles/header.less +3 -3
  298. package/lib/components/list/utils/index.d.ts +13 -1
  299. package/lib/components/list/utils/index.js +27 -0
  300. package/lib/components/pay/toB/components/Cache/index.d.ts +1 -0
  301. package/lib/components/pay/toB/components/Card/index.d.ts +1 -0
  302. package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -0
  303. package/lib/components/pay/toB/components/Content/Footer.d.ts +1 -0
  304. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  305. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
  306. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  307. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  308. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  309. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  310. package/lib/components/pay/toC/locales.d.ts +301 -0
  311. package/lib/components/pay/toC/status.d.ts +13 -0
  312. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  313. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  314. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  315. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  316. package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
  317. package/lib/components/productExtension/index.d.ts +1 -0
  318. package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
  319. package/lib/components/ruleSetting/index.d.ts +1 -0
  320. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  321. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  322. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  323. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  324. package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
  325. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  326. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  327. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  328. package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  329. package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
  330. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  331. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  332. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  333. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  334. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  335. package/lib/components/taxSelect/index.d.ts +1 -0
  336. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +1 -0
  337. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +33 -2
  338. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +84 -24
  339. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
  340. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  341. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  342. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  343. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  344. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  345. package/lib/components/ticketBooking/index.d.ts +1 -0
  346. package/lib/components/ticketBooking/locales.d.ts +198 -0
  347. package/lib/components/ticketBooking/utils/index.d.ts +93 -0
  348. package/lib/components/wallet/Detail/locales.d.ts +153 -0
  349. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  350. package/lib/components/wallet/serve.d.ts +150 -0
  351. package/lib/components/wallet/utils.d.ts +48 -0
  352. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  353. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  354. package/lib/plus/clientCard/locales.d.ts +18 -0
  355. package/lib/plus/clinetSearch/index.d.ts +17 -0
  356. package/lib/plus/clinetSearch/locales.d.ts +105 -0
  357. package/lib/plus/clinetSearch/types.d.ts +61 -0
  358. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +1 -0
  359. package/lib/plus/noteModal/AddTempModal.d.ts +1 -0
  360. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +1 -0
  361. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  362. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  363. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  364. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +1 -0
  365. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +1 -0
  366. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  367. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  368. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +1 -0
  369. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +1 -0
  370. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  371. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  372. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +1 -0
  373. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +1 -0
  374. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  375. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +1 -0
  376. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  377. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  378. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  379. package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -0
  380. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
  381. package/lib/plus/walletPassGallery/index.d.ts +1 -0
  382. package/lib/plus/walletPassGallery/serve.d.ts +221 -0
  383. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
  384. package/lib/pro/comprehensiveSearch/locales.d.ts +15 -0
  385. package/lib/pro/pisellPhoneKeyboard/index.d.ts +1 -0
  386. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +1 -0
  387. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
  388. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
  389. package/lib/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +1 -0
  390. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
  391. package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +1 -0
  392. package/package.json +2 -2
@@ -0,0 +1,153 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.wallet.copyTitle': string;
4
+ 'page.wallet.copyButton': string;
5
+ 'page.wallet.copySuccess': string;
6
+ 'page.wallet.detail': string;
7
+ 'page.wallet.activelog': string;
8
+ 'page.wallet.copyText': string;
9
+ 'page.wallet.spendingDetails': string;
10
+ 'page.wallet.rechargeDetails': string;
11
+ 'page.wallet.date': string;
12
+ 'page.wallet.spending': string;
13
+ 'page.wallet.recharge': string;
14
+ 'page.wallet.pointsEarned': string;
15
+ 'page.wallet.pointsRedeemed': string;
16
+ 'page.wallet.refund': string;
17
+ 'page.wallet.expire': string;
18
+ 'page.wallet.viewOrder': string;
19
+ 'page.wallet.done': string;
20
+ 'page.wallet.addIos': string;
21
+ 'page.wallet.addGoogle': string;
22
+ 'page.wallet.viewDetails': string;
23
+ 'page.wallet.expireDate': string;
24
+ 'page.wallet.notValidDate': string;
25
+ 'page.wallet.includedDate': string;
26
+ 'page.wallet.urlEmpty': string;
27
+ 'page.wallet.notIOS': string;
28
+ 'page.wallet.addSuccess': string;
29
+ 'page.wallet.addFailed': string;
30
+ 'page.wallet.useAppleInstead': string;
31
+ 'page.wallet.openedInBrowser': string;
32
+ 'page.wallet.openFailed': string;
33
+ 'page.wallet.loading': string;
34
+ 'page.wallet.usageRules': string;
35
+ 'page.wallet.usageRulesSubtitle': string;
36
+ 'page.wallet.timeUsageLimits': string;
37
+ 'page.wallet.totalQuantityControl': string;
38
+ 'page.wallet.dailyLimit': string;
39
+ 'page.wallet.weeklyLimit': string;
40
+ 'page.wallet.monthlyLimit': string;
41
+ 'page.wallet.personalLimit': string;
42
+ 'page.wallet.dailyLimitDesc': string;
43
+ 'page.wallet.weeklyLimitDesc': string;
44
+ 'page.wallet.monthlyLimitDesc': string;
45
+ 'page.wallet.monthlyLimitUnlimited': string;
46
+ 'page.wallet.personalLimitDesc': string;
47
+ 'page.wallet.dailyReset': string;
48
+ 'page.wallet.weeklyReset': string;
49
+ 'page.wallet.monthlyReset': string;
50
+ 'page.wallet.voucherExpireNote': string;
51
+ };
52
+ 'zh-CN': {
53
+ 'page.wallet.copyTitle': string;
54
+ 'page.wallet.copyButton': string;
55
+ 'page.wallet.copySuccess': string;
56
+ 'page.wallet.detail': string;
57
+ 'page.wallet.activelog': string;
58
+ 'page.wallet.copyText': string;
59
+ 'page.wallet.spendingDetails': string;
60
+ 'page.wallet.rechargeDetails': string;
61
+ 'page.wallet.date': string;
62
+ 'page.wallet.spending': string;
63
+ 'page.wallet.recharge': string;
64
+ 'page.wallet.pointsEarned': string;
65
+ 'page.wallet.pointsRedeemed': string;
66
+ 'page.wallet.refund': string;
67
+ 'page.wallet.expire': string;
68
+ 'page.wallet.viewOrder': string;
69
+ 'page.wallet.done': string;
70
+ 'page.wallet.addIos': string;
71
+ 'page.wallet.addGoogle': string;
72
+ 'page.wallet.viewDetails': string;
73
+ 'page.wallet.expireDate': string;
74
+ 'page.wallet.notValidDate': string;
75
+ 'page.wallet.includedDate': string;
76
+ 'page.wallet.urlEmpty': string;
77
+ 'page.wallet.notIOS': string;
78
+ 'page.wallet.addSuccess': string;
79
+ 'page.wallet.addFailed': string;
80
+ 'page.wallet.useAppleInstead': string;
81
+ 'page.wallet.openedInBrowser': string;
82
+ 'page.wallet.openFailed': string;
83
+ 'page.wallet.loading': string;
84
+ 'page.wallet.usageRules': string;
85
+ 'page.wallet.usageRulesSubtitle': string;
86
+ 'page.wallet.timeUsageLimits': string;
87
+ 'page.wallet.totalQuantityControl': string;
88
+ 'page.wallet.dailyLimit': string;
89
+ 'page.wallet.weeklyLimit': string;
90
+ 'page.wallet.monthlyLimit': string;
91
+ 'page.wallet.personalLimit': string;
92
+ 'page.wallet.dailyLimitDesc': string;
93
+ 'page.wallet.weeklyLimitDesc': string;
94
+ 'page.wallet.monthlyLimitDesc': string;
95
+ 'page.wallet.monthlyLimitUnlimited': string;
96
+ 'page.wallet.personalLimitDesc': string;
97
+ 'page.wallet.dailyReset': string;
98
+ 'page.wallet.weeklyReset': string;
99
+ 'page.wallet.monthlyReset': string;
100
+ 'page.wallet.voucherExpireNote': string;
101
+ };
102
+ 'zh-HK': {
103
+ 'page.wallet.copyTitle': string;
104
+ 'page.wallet.copyButton': string;
105
+ 'page.wallet.copySuccess': string;
106
+ 'page.wallet.detail': string;
107
+ 'page.wallet.activelog': string;
108
+ 'page.wallet.copyText': string;
109
+ 'page.wallet.spendingDetails': string;
110
+ 'page.wallet.rechargeDetails': string;
111
+ 'page.wallet.date': string;
112
+ 'page.wallet.spending': string;
113
+ 'page.wallet.recharge': string;
114
+ 'page.wallet.pointsEarned': string;
115
+ 'page.wallet.pointsRedeemed': string;
116
+ 'page.wallet.refund': string;
117
+ 'page.wallet.expire': string;
118
+ 'page.wallet.viewOrder': string;
119
+ 'page.wallet.done': string;
120
+ 'page.wallet.addIos': string;
121
+ 'page.wallet.addGoogle': string;
122
+ 'page.wallet.viewDetails': string;
123
+ 'page.wallet.expireDate': string;
124
+ 'page.wallet.notValidDate': string;
125
+ 'page.wallet.includedDate': string;
126
+ 'page.wallet.urlEmpty': string;
127
+ 'page.wallet.notIOS': string;
128
+ 'page.wallet.addSuccess': string;
129
+ 'page.wallet.addFailed': string;
130
+ 'page.wallet.useAppleInstead': string;
131
+ 'page.wallet.openedInBrowser': string;
132
+ 'page.wallet.openFailed': string;
133
+ 'page.wallet.loading': string;
134
+ 'page.wallet.usageRules': string;
135
+ 'page.wallet.usageRulesSubtitle': string;
136
+ 'page.wallet.timeUsageLimits': string;
137
+ 'page.wallet.totalQuantityControl': string;
138
+ 'page.wallet.dailyLimit': string;
139
+ 'page.wallet.weeklyLimit': string;
140
+ 'page.wallet.monthlyLimit': string;
141
+ 'page.wallet.personalLimit': string;
142
+ 'page.wallet.dailyLimitDesc': string;
143
+ 'page.wallet.weeklyLimitDesc': string;
144
+ 'page.wallet.monthlyLimitDesc': string;
145
+ 'page.wallet.monthlyLimitUnlimited': string;
146
+ 'page.wallet.personalLimitDesc': string;
147
+ 'page.wallet.dailyReset': string;
148
+ 'page.wallet.weeklyReset': string;
149
+ 'page.wallet.monthlyReset': string;
150
+ 'page.wallet.voucherExpireNote': string;
151
+ };
152
+ };
153
+ export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IWalletListItemProps } from '../serve';
2
3
  /**
3
4
  * 钱包卡片Hook的参数
@@ -0,0 +1,150 @@
1
+ /**
2
+ * 钱包列表查询参数接口
3
+ */
4
+ export interface IWalletListParmsProps {
5
+ tag?: string;
6
+ sales_status?: 1 | 0 | -1;
7
+ machine_search?: string;
8
+ createdDate?: string;
9
+ limit_status?: string;
10
+ relation_id?: string;
11
+ relation_type?: string;
12
+ customer_id?: number;
13
+ sort?: 'desc' | 'asc';
14
+ order_by?: string;
15
+ used_status?: string;
16
+ num?: number;
17
+ skip?: number;
18
+ with?: string[];
19
+ }
20
+ /**
21
+ * 钱包列表项属性接口
22
+ */
23
+ export interface IWalletListItemProps {
24
+ id?: number | string;
25
+ encoded?: string;
26
+ code?: string;
27
+ limit_status?: string;
28
+ customer_id?: number;
29
+ generate_method?: 'not_settable' | 'before_order' | 'after_order';
30
+ created_at?: string;
31
+ product_id?: number;
32
+ sales_status?: 1 | 0;
33
+ tag?: string;
34
+ status?: string;
35
+ redeemed_at?: string;
36
+ collection_time?: string;
37
+ order_id?: number;
38
+ par_value?: string;
39
+ write_status?: number;
40
+ expire_date?: string;
41
+ balance?: string;
42
+ extension_id?: string;
43
+ product_title?: string;
44
+ product_cover?: string;
45
+ product?: IProductProps;
46
+ unified_available_status?: IUnifiedAvailableStatus;
47
+ shop: IShop;
48
+ unified_messages: any;
49
+ machinecode_config?: {
50
+ hide_recharge?: number;
51
+ };
52
+ metadata: {
53
+ validity_type: string;
54
+ };
55
+ custom_schedule_snapshot: {
56
+ data: any[];
57
+ };
58
+ }
59
+ /**
60
+ * 商店信息接口
61
+ */
62
+ export interface IShop {
63
+ name: string;
64
+ id: number;
65
+ }
66
+ /**
67
+ * 统一可用状态接口
68
+ */
69
+ export interface IUnifiedAvailableStatus {
70
+ title?: string;
71
+ desc?: string;
72
+ alert?: string;
73
+ }
74
+ /**
75
+ * 商品属性接口
76
+ */
77
+ export interface IProductProps {
78
+ id?: number;
79
+ title?: string;
80
+ description?: string;
81
+ }
82
+ /**
83
+ * API响应接口
84
+ */
85
+ export interface ApiResponse<T> {
86
+ data: T;
87
+ code?: number;
88
+ message?: string;
89
+ }
90
+ /**
91
+ * 错误处理函数类型
92
+ */
93
+ export declare type ErrorCallback = () => void;
94
+ /**
95
+ * 获取钱包列表
96
+ * @param params 查询参数
97
+ * @returns Promise<{list: IWalletListItemProps[], count: number}> 钱包列表和总数
98
+ * @throws 请求失败时抛出错误
99
+ */
100
+ export declare const getWalletList: (params?: IWalletListParmsProps) => Promise<{
101
+ list: IWalletListItemProps[];
102
+ count: number;
103
+ }>;
104
+ /**
105
+ * 通过code绑定客户
106
+ * @param params 请求参数,包含code
107
+ * @param errCallback 错误回调
108
+ * @returns Promise<any> 绑定结果
109
+ */
110
+ export declare const customer: (params: {
111
+ code: string;
112
+ }, errCallback: ErrorCallback) => Promise<any>;
113
+ /**
114
+ * 用户根据code查询待绑定识别码列表
115
+ * @param params 请求参数,包含code和tag
116
+ * @param errCallback 错误回调函数
117
+ * @returns Promise<IWalletListItemProps[] | null> 未绑定的钱包卡列表
118
+ */
119
+ export declare const unbindList: (params: {
120
+ code: string;
121
+ tag: string;
122
+ }, errCallback: ErrorCallback) => Promise<IWalletListItemProps[] | null>;
123
+ /**
124
+ * 下单请求参数接口
125
+ */
126
+ export interface IOrderParams {
127
+ voucher_id: string;
128
+ product_id: string;
129
+ product_variant_id: string;
130
+ quantity: number;
131
+ type: string;
132
+ platform: string;
133
+ currency_code: {
134
+ currency_code: string;
135
+ currency_symbol: string;
136
+ currency_format: string;
137
+ };
138
+ }
139
+ /**
140
+ * 下单
141
+ * @param params 下单参数
142
+ * @returns Promise<any> 下单结果
143
+ * @throws 请求失败时抛出错误
144
+ */
145
+ export declare const goOrder: (params: IOrderParams) => Promise<any>;
146
+ /**
147
+ * 设置请求对象
148
+ * @param req 请求对象
149
+ */
150
+ export declare const setRequest: (req: any) => void;
@@ -0,0 +1,48 @@
1
+ interface ScheduleTextResult {
2
+ validityTexts: string[];
3
+ excluded_date: string[];
4
+ included_date: string[];
5
+ }
6
+ declare type Locale = 'en' | 'zh-CN' | 'zh-HK';
7
+ interface ScheduleItem {
8
+ id: number;
9
+ name: string | {
10
+ [key: string]: string;
11
+ };
12
+ type: 'standard' | 'time-slots' | 'designation';
13
+ start_time: string | null;
14
+ end_time: string | null;
15
+ repeat_type: 'none' | 'daily' | 'weekly';
16
+ repeat_rule: {
17
+ end: {
18
+ type: 'never' | 'date' | 'occurrence';
19
+ end_date: string | null;
20
+ occurrence: number | null;
21
+ };
22
+ frequency: number;
23
+ excluded_date: Array<{
24
+ start: string;
25
+ end: string;
26
+ }>;
27
+ included_date: any[];
28
+ frequency_date: number[];
29
+ } | null;
30
+ designation: Array<{
31
+ start_date: string;
32
+ start_time: string;
33
+ end_date: string;
34
+ end_time: string;
35
+ }> | null;
36
+ is_all: number;
37
+ time_slot: Array<{
38
+ start_time: string;
39
+ end_time: string;
40
+ }>;
41
+ }
42
+ /**
43
+ * 根据scheduleList格式化文案展示
44
+ * @param scheduleList 日程列表
45
+ * @returns 格式化后的文案结果数组,每个日程对应一个结果
46
+ */
47
+ export declare function formatScheduleText(scheduleList: ScheduleItem[], locale?: Locale): ScheduleTextResult[];
48
+ export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
2
3
  import './index.less';
3
4
  interface ModalProps extends AntModalProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './../../index.less';
2
3
  declare const Search: () => JSX.Element;
3
4
  export default Search;
@@ -0,0 +1,18 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.add-client': string;
4
+ 'pisell2.text.change-client': string;
5
+ 'pisell2.text.remove-client': string;
6
+ };
7
+ 'zh-CN': {
8
+ 'pisell2.text.add-client': string;
9
+ 'pisell2.text.change-client': string;
10
+ 'pisell2.text.remove-client': string;
11
+ };
12
+ 'zh-HK': {
13
+ 'pisell2.text.add-client': string;
14
+ 'pisell2.text.change-client': string;
15
+ 'pisell2.text.remove-client': string;
16
+ };
17
+ };
18
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { TableProps } from 'antd';
3
+ import type { ComprehensiveSearchProps } from '../../pro/comprehensiveSearch/types';
4
+ import type { ClientData } from './types';
5
+ import './index.less';
6
+ interface ClientSearchProps extends Omit<ComprehensiveSearchProps, 'resultDisplay' | 'onRowClick'> {
7
+ onRowClick?: (record: ClientData, index: number) => void;
8
+ onAddClient?: (record: ClientData, isChecked: boolean) => void;
9
+ resultProps?: TableProps<ClientData>;
10
+ hasMore?: boolean;
11
+ onLoadMore?: () => void;
12
+ }
13
+ export declare type ClientSearchRef = {
14
+ resetScrollPosition: () => void;
15
+ };
16
+ declare const ClientSearch: React.ForwardRefExoticComponent<ClientSearchProps & React.RefAttributes<ClientSearchRef>>;
17
+ export default ClientSearch;
@@ -0,0 +1,105 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.leave-empty-for-walk-in': string;
4
+ 'pisell2.text.date-year-text': string;
5
+ 'pisell2.text.date-month-text': string;
6
+ 'pisell2.text.date-day-text': string;
7
+ 'pisell2.text.gender': string;
8
+ 'pisell2.text.gender.male': string;
9
+ 'pisell2.text.gender.female': string;
10
+ 'pisell2.text.birthday': string;
11
+ 'pisell2.text.phone': string;
12
+ 'pisell2.text.email': string;
13
+ 'pisell2.text.lastname': string;
14
+ 'pisell2.text.firstname': string;
15
+ 'pisell2.text.email-error-message': string;
16
+ 'pisell2.text.notes': string;
17
+ 'pisell2.text.save': string;
18
+ 'pisell2.text.save-and-select': string;
19
+ 'pisell2.text.no-results-found': string;
20
+ 'pisell2.text.create-new-client': string;
21
+ 'pisell2.text.result-found': string;
22
+ 'pisell2.text.personnel-list': string;
23
+ 'pisell2.text.load-more': string;
24
+ 'pisell2.text.add-client.confirm': string;
25
+ 'pisell2.text.search-customer-by-phone-number': string;
26
+ 'pisell2.text.create': string;
27
+ 'pisell2.text.loading': string;
28
+ 'pisell2.text.no-more-data': string;
29
+ 'pisell2.text.client-search.name': string;
30
+ 'pisell2.text.client-search.register-time': string;
31
+ 'pisell2.text.client-search.phone': string;
32
+ 'pisell2.text.client-search.email': string;
33
+ 'pisell2.text.client-search.membership': string;
34
+ 'pisell2.text.client-search.contact-info': string;
35
+ };
36
+ 'zh-CN': {
37
+ 'pisell2.text.leave-empty-for-walk-in': string;
38
+ 'pisell2.text.date-year-text': string;
39
+ 'pisell2.text.date-month-text': string;
40
+ 'pisell2.text.date-day-text': string;
41
+ 'pisell2.text.gender': string;
42
+ 'pisell2.text.gender.male': string;
43
+ 'pisell2.text.gender.female': string;
44
+ 'pisell2.text.birthday': string;
45
+ 'pisell2.text.phone': string;
46
+ 'pisell2.text.email': string;
47
+ 'pisell2.text.lastname': string;
48
+ 'pisell2.text.firstname': string;
49
+ 'pisell2.text.email-error-message': string;
50
+ 'pisell2.text.notes': string;
51
+ 'pisell2.text.save': string;
52
+ 'pisell2.text.save-and-select': string;
53
+ 'pisell2.text.no-results-found': string;
54
+ 'pisell2.text.create-new-client': string;
55
+ 'pisell2.text.result-found': string;
56
+ 'pisell2.text.personnel-list': string;
57
+ 'pisell2.text.add-client.confirm': string;
58
+ 'pisell2.text.load-more': string;
59
+ 'pisell2.text.search-customer-by-phone-number': string;
60
+ 'pisell2.text.create': string;
61
+ 'pisell2.text.loading': string;
62
+ 'pisell2.text.no-more-data': string;
63
+ 'pisell2.text.client-search.name': string;
64
+ 'pisell2.text.client-search.register-time': string;
65
+ 'pisell2.text.client-search.phone': string;
66
+ 'pisell2.text.client-search.email': string;
67
+ 'pisell2.text.client-search.membership': string;
68
+ 'pisell2.text.client-search.contact-info': string;
69
+ };
70
+ 'zh-HK': {
71
+ 'pisell2.text.leave-empty-for-walk-in': string;
72
+ 'pisell2.text.date-year-text': string;
73
+ 'pisell2.text.date-month-text': string;
74
+ 'pisell2.text.date-day-text': string;
75
+ 'pisell2.text.gender': string;
76
+ 'pisell2.text.gender.male': string;
77
+ 'pisell2.text.gender.female': string;
78
+ 'pisell2.text.birthday': string;
79
+ 'pisell2.text.phone': string;
80
+ 'pisell2.text.email': string;
81
+ 'pisell2.text.lastname': string;
82
+ 'pisell2.text.firstname': string;
83
+ 'pisell2.text.email-error-message': string;
84
+ 'pisell2.text.notes': string;
85
+ 'pisell2.text.save': string;
86
+ 'pisell2.text.save-and-select': string;
87
+ 'pisell2.text.no-results-found': string;
88
+ 'pisell2.text.create-new-client': string;
89
+ 'pisell2.text.result-found': string;
90
+ 'pisell2.text.personnel-list': string;
91
+ 'pisell2.text.add-client.confirm': string;
92
+ 'pisell2.text.load-more': string;
93
+ 'pisell2.text.search-customer-by-phone-number': string;
94
+ 'pisell2.text.create': string;
95
+ 'pisell2.text.loading': string;
96
+ 'pisell2.text.no-more-data': string;
97
+ 'pisell2.text.client-search.name': string;
98
+ 'pisell2.text.client-search.register-time': string;
99
+ 'pisell2.text.client-search.phone': string;
100
+ 'pisell2.text.client-search.email': string;
101
+ 'pisell2.text.client-search.membership': string;
102
+ 'pisell2.text.client-search.contact-info': string;
103
+ };
104
+ };
105
+ export default _default;
@@ -0,0 +1,61 @@
1
+ /// <reference types="react" />
2
+ export interface ClientData {
3
+ id: number;
4
+ display_name: string;
5
+ created_at: string;
6
+ phone: string;
7
+ email: string;
8
+ channel: string;
9
+ country_calling_code: string;
10
+ nickname: string;
11
+ shop_id: number;
12
+ updated_at: string;
13
+ contacts_info: {
14
+ value: {
15
+ first_name?: string;
16
+ last_name?: string;
17
+ phone?: {
18
+ phone?: string;
19
+ country_calling_code?: string;
20
+ country_code?: string;
21
+ };
22
+ email?: string;
23
+ };
24
+ };
25
+ }
26
+ export interface ClientSearchProps {
27
+ dataSource?: any;
28
+ isShowScanner?: boolean;
29
+ isShowCamera?: boolean;
30
+ isShowNFC?: boolean;
31
+ isShowNewButton?: boolean;
32
+ newButtonAlign?: 'left' | 'center' | 'right';
33
+ newButtonText?: string;
34
+ renderType?: 'modal' | 'drawer' | 'portal' | '';
35
+ containerProps?: Record<string, any>;
36
+ isShowSearch?: boolean;
37
+ isShowSearchCamera?: boolean;
38
+ searchIcon?: string;
39
+ placeholder?: string;
40
+ isShowSearchButton?: boolean;
41
+ resultSort?: 'asc' | 'desc' | 'custom';
42
+ sortBy?: string;
43
+ style?: React.CSSProperties;
44
+ onChange?: (value: string) => void;
45
+ onSearch?: (value: string) => void;
46
+ onAdd?: () => void;
47
+ onDataChange?: (data: any) => void;
48
+ onRowClick?: (record: ClientData, index: number) => void;
49
+ }
50
+ export interface ClientFormData {
51
+ display_name: string;
52
+ phone?: string;
53
+ email?: string;
54
+ nickname?: string;
55
+ }
56
+ export interface ClientSearchState {
57
+ modalVisible: boolean;
58
+ loading: boolean;
59
+ searchResults: ClientData[];
60
+ searchValue: string;
61
+ }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ContactInfoContent: (props: any) => JSX.Element;
3
4
  export default ContactInfoContent;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AddTempModal: ({ open, onCancel, onConfirm, }: {
3
4
  open: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ProductCardConfig } from '../../type';
3
4
  declare const Action: ({ props, className, }: {
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Capacity: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | JSX.Element | React.ReactFragment | null;
5
+ }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
6
  export default Capacity;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const CardCom: ({ props, className }: {
@@ -3,5 +3,5 @@ import { SkuStatusOverlayConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const CardMask: ({ props }: {
5
5
  props: SkuStatusOverlayConfig;
6
- }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
+ }) => string | number | true | React.ReactFragment | JSX.Element | null;
7
7
  export default CardMask;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const CardMoreText: (props: any) => JSX.Element;
3
4
  export default CardMoreText;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const CardWrapper: (props: ProductCardConfig) => JSX.Element;
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const Countdown: ({ props }: {
5
5
  props: ProductCardConfig;
6
- }) => string | number | true | JSX.Element | React.ReactFragment | null;
6
+ }) => string | number | true | React.ReactFragment | JSX.Element | null;
7
7
  export default Countdown;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Duration: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | JSX.Element | React.ReactFragment | null;
5
+ }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
6
  export default Duration;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ProductCardConfig } from '../../type';
3
4
  declare const Favorite: ({ props }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const Promotions: ({ props }: {
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Resource: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | JSX.Element | React.ReactFragment | null;
5
+ }) => string | number | true | React.ReactFragment | JSX.Element | null;
6
6
  export default Resource;