@pisell/private-materials 6.4.62 → 6.4.63

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 (830) 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 +145 -145
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +8 -8
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +8 -8
  11. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
  12. package/es/components/appointmentBooking/components/Cart/Item/index.js +3 -2
  13. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/ConfirmInformation/index.js +267 -76
  15. package/es/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
  16. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  18. package/es/components/appointmentBooking/hooks.d.ts +1 -0
  19. package/es/components/appointmentBooking/hooks.js +30 -30
  20. package/es/components/appointmentBooking/locales.d.ts +3 -0
  21. package/es/components/appointmentBooking/locales.js +9 -6
  22. package/es/components/booking/addons/model.d.ts +10 -1
  23. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  24. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  25. package/es/components/booking/components/actionButtons/index.js +7 -15
  26. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  27. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  28. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  29. package/es/components/booking/components/footer/index.js +6 -3
  30. package/es/components/booking/components/footer/utils.js +80 -77
  31. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  32. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  33. package/es/components/booking/components/voucher/index.js +19 -23
  34. package/es/components/booking/forms/footer.d.ts +0 -1
  35. package/es/components/booking/forms/model.d.ts +10 -1
  36. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  37. package/es/components/booking/forms/table/index.d.ts +0 -1
  38. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  39. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  40. package/es/components/booking/info/clientVariant/hooks/useClientFn.js +2 -2
  41. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  42. package/es/components/booking/info/clientVariant/vertical/index.js +1 -1
  43. package/es/components/booking/info/date/index.d.ts +0 -1
  44. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  45. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  46. package/es/components/booking/info/main.js +3 -2
  47. package/es/components/booking/info/model.d.ts +10 -1
  48. package/es/components/booking/info/model.js +5 -0
  49. package/es/components/booking/info/notes/index.d.ts +0 -1
  50. package/es/components/booking/info/service/Lists.d.ts +0 -1
  51. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  52. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  53. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  54. package/es/components/booking/info/service/like/index.d.ts +0 -1
  55. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  56. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  57. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  58. package/es/components/booking/info2/cartClientCard/index.js +33 -8
  59. package/es/components/booking/info2/index.js +3 -2
  60. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  61. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  62. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  63. package/es/components/booking/info2/service/contactInfoMode/index.js +94 -0
  64. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  65. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  66. package/es/components/booking/locales.d.ts +3 -0
  67. package/es/components/booking/locales.js +9 -3
  68. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  69. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  70. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  71. package/es/components/booking/model.d.ts +13 -1
  72. package/es/components/booking/model.js +3 -0
  73. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  74. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  75. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  76. package/es/components/booking/notes/model.d.ts +10 -1
  77. package/es/components/booking/payments/model.d.ts +10 -1
  78. package/es/components/checkout/PaymentModal.js +12 -17
  79. package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
  80. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  81. package/es/components/checkout/hooks/useWalletPass.js +21 -36
  82. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  83. package/es/components/eftpos/group/index.d.ts +0 -1
  84. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  85. package/es/components/eftpos/icon/device.d.ts +0 -1
  86. package/es/components/eftpos/receipt/index.d.ts +0 -1
  87. package/es/components/eftposPay/amount.d.ts +0 -1
  88. package/es/components/eftposPay/app.d.ts +0 -1
  89. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  90. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  91. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  92. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  93. package/es/components/eftposPay/hooks.d.ts +1 -1
  94. package/es/components/eftposPay/payo/config.d.ts +0 -1
  95. package/es/components/eftposPay/store/index.d.ts +2 -2
  96. package/es/components/eftposPay/tip.d.ts +0 -1
  97. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  98. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  99. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  100. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  101. package/es/components/eventBooking/components/Provider/Cart/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/InformationOptionsModal/index.d.ts +0 -1
  104. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  105. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  106. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  107. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  108. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  109. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  110. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  111. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  112. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  113. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  114. package/es/components/login/index.d.ts +0 -1
  115. package/es/components/pay/toB/components/Card/index.d.ts +0 -1
  116. package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  117. package/es/components/pay/toB/components/Content/Footer.d.ts +0 -1
  118. package/es/components/pay/toB/components/Content/Header.d.ts +0 -1
  119. package/es/components/pay/toB/store/hooks.js +5 -19
  120. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  121. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  122. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  123. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  124. package/es/components/pay/toC/model.d.ts +9 -1
  125. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  126. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  127. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  128. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  129. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  130. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  131. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  132. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  133. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  134. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  135. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  136. package/es/components/schedules/calendar/index.d.ts +0 -1
  137. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  138. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  139. package/es/components/schedules/model.d.ts +9 -1
  140. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  141. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  142. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  143. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  144. package/es/components/schedules/products/index.d.ts +0 -1
  145. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  146. package/es/components/schedules/products/list/index.d.ts +0 -1
  147. package/es/components/schedules/resources/list/index.d.ts +0 -1
  148. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  149. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  150. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  151. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  152. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  153. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  154. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  155. package/es/components/shoppingCart/index.d.ts +0 -1
  156. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -20
  157. package/es/components/ticketBooking/components/addServiceVariant/addService.js +15 -50
  158. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -2
  159. package/es/components/ticketBooking/components/addServiceVariant/index.js +2 -4
  160. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -6
  161. package/es/components/ticketBooking/components/menuBar/index.js +21 -45
  162. package/es/components/ticketBooking/components/menuBar/index.less +1 -32
  163. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -6
  164. package/es/components/ticketBooking/components/ticketBooking/index.js +23 -66
  165. package/es/components/ticketBooking/components/ticketBooking/index.less +2 -1
  166. package/es/components/ticketBooking/components/timeBar/index.less +0 -1
  167. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -5
  168. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +1 -13
  169. package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -1
  170. package/es/components/ticketBooking/hooks/pisellos/index.js +1 -2
  171. package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +4 -12
  172. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +1 -1
  173. package/es/components/ticketBooking/hooks/pisellos/useProducts.js +10 -52
  174. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +2 -5
  175. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +2 -7
  176. package/es/components/ticketBooking/index.d.ts +0 -6
  177. package/es/components/ticketBooking/index.js +11 -86
  178. package/es/components/ticketBooking/utils/index.d.ts +1 -29
  179. package/es/components/ticketBooking/utils/index.js +1 -50
  180. package/es/components/wallet/Detail/model.d.ts +13 -1
  181. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  182. package/es/components/wallet/PointCard/model.d.ts +13 -1
  183. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  184. package/es/components/wallet/Voucher/model.d.ts +13 -1
  185. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  186. package/es/components/wallet/model.d.ts +9 -1
  187. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  188. package/es/hooks/usePaymentLogger.d.ts +0 -1
  189. package/es/index.d.ts +2 -2
  190. package/es/index.js +2 -2
  191. package/es/plus/clientCard/locales.js +3 -3
  192. package/es/plus/clientName/index.d.ts +0 -1
  193. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  194. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  195. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  196. package/es/plus/clinetSearch/index.js +28 -30
  197. package/es/plus/clinetSearch/locales.d.ts +3 -0
  198. package/es/plus/clinetSearch/locales.js +7 -4
  199. package/es/plus/clinetSearch/types.d.ts +12 -0
  200. package/es/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  201. package/es/plus/contactInfo/components/Avatar/index.js +30 -0
  202. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  203. package/es/plus/contactInfo/components/SwipeAction/index.js +360 -0
  204. package/es/plus/contactInfo/components/SwipeAction/index.less +74 -0
  205. package/es/plus/contactInfo/index.d.ts +6 -0
  206. package/es/plus/contactInfo/index.js +198 -0
  207. package/es/plus/contactInfo/index.less +621 -0
  208. package/es/plus/contactInfo/locales.d.ts +15 -0
  209. package/es/plus/contactInfo/locales.js +14 -0
  210. package/es/plus/contactInfo/types.d.ts +91 -0
  211. package/es/plus/contactInfo/utils.d.ts +7 -0
  212. package/es/plus/contactInfo/utils.js +50 -0
  213. package/es/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  214. package/es/plus/contactInfoModal/ContactInfoContent.js +74 -0
  215. package/es/plus/contactInfoModal/index.d.ts +40 -0
  216. package/es/plus/contactInfoModal/index.js +154 -0
  217. package/es/plus/contactInfoModal/index.less +19 -0
  218. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  219. package/es/plus/contactInfoModal/locales.js +65 -0
  220. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -2
  221. package/es/plus/productSelect/components/pisellPriceText/index.js +5 -7
  222. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  223. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  224. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  225. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  226. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  227. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  228. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  229. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  230. package/es/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  231. package/es/pro/comprehensiveSearch/locales.js +1 -1
  232. package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  233. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
  234. package/es/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
  235. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
  236. package/lib/components/appointmentBooking/components/Cart/Item/index.js +5 -3
  237. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  238. package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +151 -13
  239. package/lib/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
  240. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  241. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  242. package/lib/components/appointmentBooking/hooks.d.ts +1 -0
  243. package/lib/components/appointmentBooking/hooks.js +73 -35
  244. package/lib/components/appointmentBooking/locales.d.ts +3 -0
  245. package/lib/components/appointmentBooking/locales.js +6 -3
  246. package/lib/components/booking/addons/model.d.ts +10 -1
  247. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  248. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  249. package/lib/components/booking/components/actionButtons/index.js +15 -22
  250. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  251. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  252. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  253. package/lib/components/booking/components/footer/index.js +6 -3
  254. package/lib/components/booking/components/footer/utils.js +93 -67
  255. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  256. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  257. package/lib/components/booking/components/voucher/index.js +40 -33
  258. package/lib/components/booking/forms/footer.d.ts +0 -1
  259. package/lib/components/booking/forms/model.d.ts +10 -1
  260. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  261. package/lib/components/booking/forms/table/index.d.ts +0 -1
  262. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  263. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  264. package/lib/components/booking/info/clientVariant/hooks/useClientFn.js +1 -1
  265. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  266. package/lib/components/booking/info/clientVariant/vertical/index.js +34 -17
  267. package/lib/components/booking/info/date/index.d.ts +0 -1
  268. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  269. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  270. package/lib/components/booking/info/main.js +5 -4
  271. package/lib/components/booking/info/model.d.ts +10 -1
  272. package/lib/components/booking/info/model.js +5 -0
  273. package/lib/components/booking/info/notes/index.d.ts +0 -1
  274. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  275. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  276. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  277. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  278. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  279. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  280. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  281. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  282. package/lib/components/booking/info2/cartClientCard/index.js +28 -7
  283. package/lib/components/booking/info2/index.js +11 -5
  284. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  285. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  286. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  287. package/lib/components/booking/info2/service/contactInfoMode/index.js +111 -0
  288. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  289. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  290. package/lib/components/booking/locales.d.ts +3 -0
  291. package/lib/components/booking/locales.js +9 -3
  292. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  293. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  294. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  295. package/lib/components/booking/model.d.ts +13 -1
  296. package/lib/components/booking/model.js +3 -0
  297. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  298. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  299. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  300. package/lib/components/booking/notes/model.d.ts +10 -1
  301. package/lib/components/booking/payments/model.d.ts +10 -1
  302. package/lib/components/checkout/PaymentModal.js +12 -15
  303. package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
  304. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  305. package/lib/components/checkout/hooks/useWalletPass.js +45 -57
  306. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  307. package/lib/components/eftpos/group/index.d.ts +0 -1
  308. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  309. package/lib/components/eftpos/icon/device.d.ts +0 -1
  310. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  311. package/lib/components/eftposPay/amount.d.ts +0 -1
  312. package/lib/components/eftposPay/app.d.ts +0 -1
  313. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  314. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  315. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  316. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  317. package/lib/components/eftposPay/hooks.d.ts +1 -1
  318. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  319. package/lib/components/eftposPay/store/index.d.ts +2 -2
  320. package/lib/components/eftposPay/tip.d.ts +0 -1
  321. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  322. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  323. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  324. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  325. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  326. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  327. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  328. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  329. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  330. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  331. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  332. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  333. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  334. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  335. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  336. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  337. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  338. package/lib/components/login/index.d.ts +0 -1
  339. package/lib/components/pay/toB/components/Card/index.d.ts +0 -1
  340. package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  341. package/lib/components/pay/toB/components/Content/Footer.d.ts +0 -1
  342. package/lib/components/pay/toB/components/Content/Header.d.ts +0 -1
  343. package/lib/components/pay/toB/store/hooks.js +8 -16
  344. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  345. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  346. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  347. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  348. package/lib/components/pay/toC/model.d.ts +9 -1
  349. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  350. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  351. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  352. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  353. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  354. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  355. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  356. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  357. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  358. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  359. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  360. package/lib/components/schedules/calendar/index.d.ts +0 -1
  361. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  362. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  363. package/lib/components/schedules/model.d.ts +9 -1
  364. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  365. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  366. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  367. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  368. package/lib/components/schedules/products/index.d.ts +0 -1
  369. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  370. package/lib/components/schedules/products/list/index.d.ts +0 -1
  371. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  372. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  373. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  374. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  375. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  376. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  377. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  378. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  379. package/lib/components/shoppingCart/index.d.ts +0 -1
  380. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -20
  381. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +14 -49
  382. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -2
  383. package/lib/components/ticketBooking/components/addServiceVariant/index.js +2 -3
  384. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -6
  385. package/lib/components/ticketBooking/components/menuBar/index.js +22 -29
  386. package/lib/components/ticketBooking/components/menuBar/index.less +1 -32
  387. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -6
  388. package/lib/components/ticketBooking/components/ticketBooking/index.js +25 -56
  389. package/lib/components/ticketBooking/components/ticketBooking/index.less +2 -1
  390. package/lib/components/ticketBooking/components/timeBar/index.less +0 -1
  391. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -5
  392. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +1 -5
  393. package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -1
  394. package/lib/components/ticketBooking/hooks/pisellos/index.js +1 -3
  395. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +10 -17
  396. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +1 -1
  397. package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +5 -35
  398. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +2 -4
  399. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +2 -6
  400. package/lib/components/ticketBooking/index.d.ts +0 -6
  401. package/lib/components/ticketBooking/index.js +8 -64
  402. package/lib/components/ticketBooking/utils/index.d.ts +1 -29
  403. package/lib/components/ticketBooking/utils/index.js +2 -70
  404. package/lib/components/wallet/Detail/model.d.ts +13 -1
  405. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  406. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  407. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  408. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  409. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  410. package/lib/components/wallet/model.d.ts +9 -1
  411. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  412. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  413. package/lib/index.d.ts +2 -2
  414. package/lib/index.js +6 -6
  415. package/lib/plus/clientCard/locales.js +3 -3
  416. package/lib/plus/clientName/index.d.ts +0 -1
  417. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  418. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  419. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  420. package/lib/plus/clinetSearch/index.js +17 -8
  421. package/lib/plus/clinetSearch/locales.d.ts +3 -0
  422. package/lib/plus/clinetSearch/locales.js +7 -4
  423. package/lib/plus/clinetSearch/types.d.ts +12 -0
  424. package/lib/plus/contactInfo/components/Avatar/index.d.ts +10 -0
  425. package/lib/plus/{productSelect/ProductCard/SkuCard/components/WarningLists → contactInfo/components/Avatar}/index.js +23 -16
  426. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  427. package/lib/plus/contactInfo/components/SwipeAction/index.js +373 -0
  428. package/lib/plus/contactInfo/components/SwipeAction/index.less +74 -0
  429. package/lib/plus/contactInfo/index.d.ts +6 -0
  430. package/lib/plus/contactInfo/index.js +226 -0
  431. package/lib/plus/contactInfo/index.less +621 -0
  432. package/lib/plus/contactInfo/locales.d.ts +15 -0
  433. package/lib/{components/list/components/ScrollLoader/ScrollLoader.js → plus/contactInfo/locales.js} +17 -16
  434. package/lib/plus/contactInfo/types.d.ts +91 -0
  435. package/lib/{components/list → plus/contactInfo}/types.js +1 -1
  436. package/lib/plus/contactInfo/utils.d.ts +7 -0
  437. package/lib/plus/contactInfo/utils.js +64 -0
  438. package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
  439. package/lib/plus/contactInfoModal/ContactInfoContent.js +129 -0
  440. package/lib/plus/contactInfoModal/index.d.ts +40 -0
  441. package/lib/plus/contactInfoModal/index.js +138 -0
  442. package/lib/plus/contactInfoModal/index.less +19 -0
  443. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  444. package/lib/plus/contactInfoModal/locales.js +89 -0
  445. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -2
  446. package/lib/plus/productSelect/components/pisellPriceText/index.js +5 -6
  447. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  448. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  449. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  450. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  451. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  452. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  453. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  454. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  455. package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  456. package/lib/pro/comprehensiveSearch/locales.js +1 -1
  457. package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  458. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
  459. package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +0 -1
  460. package/lowcode/contact-info/fragments/cardStyle.ts +68 -0
  461. package/lowcode/contact-info/fragments/nameStyle.ts +33 -0
  462. package/lowcode/contact-info/fragments/pisellAvatar.ts +103 -0
  463. package/lowcode/contact-info/fragments/textStyle.ts +33 -0
  464. package/lowcode/contact-info/meta.ts +199 -0
  465. package/lowcode/contact-info-modal/meta.ts +98 -0
  466. package/package.json +5 -3
  467. package/es/components/list/List.d.ts +0 -5
  468. package/es/components/list/List.js +0 -957
  469. package/es/components/list/List.less +0 -2
  470. package/es/components/list/ResponsiveWrapper.d.ts +0 -16
  471. package/es/components/list/ResponsiveWrapper.js +0 -130
  472. package/es/components/list/TestResponsiveWrapper.d.ts +0 -8
  473. package/es/components/list/TestResponsiveWrapper.js +0 -816
  474. package/es/components/list/TestResponsiveWrapper.less +0 -968
  475. package/es/components/list/components/EmptyState/EmptyState.d.ts +0 -20
  476. package/es/components/list/components/EmptyState/EmptyState.js +0 -75
  477. package/es/components/list/components/EmptyState/EmptyState.less +0 -121
  478. package/es/components/list/components/EmptyState/index.d.ts +0 -2
  479. package/es/components/list/components/EmptyState/index.js +0 -1
  480. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
  481. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.js +0 -39
  482. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.less +0 -29
  483. package/es/components/list/components/ListItemSkeleton/index.d.ts +0 -2
  484. package/es/components/list/components/ListItemSkeleton/index.js +0 -2
  485. package/es/components/list/components/Pagination/Pagination.d.ts +0 -30
  486. package/es/components/list/components/Pagination/Pagination.js +0 -240
  487. package/es/components/list/components/Pagination/Pagination.less +0 -439
  488. package/es/components/list/components/Pagination/index.d.ts +0 -1
  489. package/es/components/list/components/Pagination/index.js +0 -1
  490. package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
  491. package/es/components/list/components/ScrollLoader/ScrollLoader.js +0 -18
  492. package/es/components/list/components/ScrollLoader/ScrollLoader.less +0 -3
  493. package/es/components/list/components/ScrollLoader/index.d.ts +0 -2
  494. package/es/components/list/components/ScrollLoader/index.js +0 -1
  495. package/es/components/list/components/Tab/Tab.d.ts +0 -5
  496. package/es/components/list/components/Tab/Tab.js +0 -43
  497. package/es/components/list/components/Tab/Tab.less +0 -139
  498. package/es/components/list/components/Tab/index.d.ts +0 -2
  499. package/es/components/list/components/Tab/index.js +0 -1
  500. package/es/components/list/components/Tab/types.d.ts +0 -14
  501. package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
  502. package/es/components/list/components/TabSkeleton/TabSkeleton.js +0 -28
  503. package/es/components/list/components/TabSkeleton/TabSkeleton.less +0 -38
  504. package/es/components/list/components/TabSkeleton/index.d.ts +0 -2
  505. package/es/components/list/components/TabSkeleton/index.js +0 -2
  506. package/es/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
  507. package/es/components/list/components/WaterfallList/WaterfallList.js +0 -191
  508. package/es/components/list/components/WaterfallList/WaterfallList.less +0 -201
  509. package/es/components/list/components/WaterfallList/index.d.ts +0 -2
  510. package/es/components/list/components/WaterfallList/index.js +0 -1
  511. package/es/components/list/examples/GroupedListExample.d.ts +0 -3
  512. package/es/components/list/examples/GroupedListExample.js +0 -207
  513. package/es/components/list/hooks/index.d.ts +0 -5
  514. package/es/components/list/hooks/index.js +0 -3
  515. package/es/components/list/hooks/useDevice.d.ts +0 -24
  516. package/es/components/list/hooks/useDevice.js +0 -102
  517. package/es/components/list/hooks/useListState.d.ts +0 -43
  518. package/es/components/list/hooks/useListState.js +0 -176
  519. package/es/components/list/hooks/useWaterfall.d.ts +0 -34
  520. package/es/components/list/hooks/useWaterfall.js +0 -161
  521. package/es/components/list/index.d.ts +0 -10
  522. package/es/components/list/index.js +0 -7
  523. package/es/components/list/locales.d.ts +0 -66
  524. package/es/components/list/locales.js +0 -107
  525. package/es/components/list/styles/base.less +0 -39
  526. package/es/components/list/styles/content.less +0 -416
  527. package/es/components/list/styles/floatButton.less +0 -107
  528. package/es/components/list/styles/footer.less +0 -49
  529. package/es/components/list/styles/header.less +0 -69
  530. package/es/components/list/styles/responsive.less +0 -166
  531. package/es/components/list/types.d.ts +0 -177
  532. package/es/components/list/types.js +0 -1
  533. package/es/components/list/utils/getText.d.ts +0 -53
  534. package/es/components/list/utils/getText.js +0 -150
  535. package/es/components/list/utils/index.d.ts +0 -4
  536. package/es/components/list/utils/index.js +0 -5
  537. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
  538. package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +0 -143
  539. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
  540. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.js +0 -7
  541. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.less +0 -41
  542. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
  543. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.js +0 -273
  544. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -50
  545. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +0 -132
  546. package/es/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
  547. package/es/components/ticketBooking/context/IsActiveContext.js +0 -37
  548. package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
  549. package/es/components/ticketBooking/context/OsKeyContext.js +0 -37
  550. package/es/components/ticketBooking/context/index.d.ts +0 -2
  551. package/es/components/ticketBooking/context/index.js +0 -2
  552. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
  553. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.js +0 -50
  554. package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +0 -6
  555. package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +0 -17
  556. package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
  557. package/es/components/ticketBooking/utils/productCache.js +0 -184
  558. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
  559. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +0 -11
  560. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +0 -8
  561. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
  562. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +0 -11
  563. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +0 -17
  564. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
  565. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +0 -11
  566. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +0 -17
  567. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
  568. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +0 -11
  569. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +0 -17
  570. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
  571. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +0 -11
  572. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +0 -2
  573. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -8
  574. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +0 -100
  575. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +0 -8
  576. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
  577. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +0 -32
  578. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +0 -3
  579. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -7
  580. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +0 -239
  581. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +0 -44
  582. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
  583. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +0 -34
  584. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +0 -14
  585. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -4
  586. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +0 -33
  587. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +0 -30
  588. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -5
  589. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +0 -75
  590. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +0 -46
  591. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
  592. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +0 -39
  593. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +0 -9
  594. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -7
  595. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +0 -53
  596. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +0 -31
  597. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
  598. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +0 -31
  599. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +0 -3
  600. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -7
  601. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +0 -58
  602. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +0 -11
  603. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +0 -7
  604. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +0 -85
  605. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +0 -24
  606. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -6
  607. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +0 -121
  608. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +0 -57
  609. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -7
  610. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +0 -95
  611. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +0 -18
  612. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
  613. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +0 -31
  614. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +0 -3
  615. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
  616. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +0 -47
  617. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +0 -3
  618. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -6
  619. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +0 -34
  620. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +0 -13
  621. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -7
  622. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +0 -95
  623. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +0 -18
  624. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
  625. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +0 -31
  626. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +0 -3
  627. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -6
  628. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +0 -34
  629. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +0 -13
  630. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
  631. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +0 -39
  632. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +0 -22
  633. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
  634. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +0 -20
  635. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +0 -20
  636. package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +0 -6
  637. package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +0 -55
  638. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
  639. package/es/plus/productSelect/ProductCard/SkuCard/index.js +0 -38
  640. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
  641. package/es/plus/productSelect/ProductCard/SkuCard/locales.js +0 -41
  642. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
  643. package/es/plus/productSelect/ProductCard/SkuCard/status.js +0 -481
  644. package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
  645. package/es/plus/productSelect/ProductCard/SkuCard/type.js +0 -1
  646. package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
  647. package/es/plus/productSelect/ProductCard/SkuCard/utils.js +0 -21
  648. package/lib/components/list/List.d.ts +0 -5
  649. package/lib/components/list/List.js +0 -771
  650. package/lib/components/list/List.less +0 -2
  651. package/lib/components/list/ResponsiveWrapper.d.ts +0 -16
  652. package/lib/components/list/ResponsiveWrapper.js +0 -145
  653. package/lib/components/list/TestResponsiveWrapper.d.ts +0 -8
  654. package/lib/components/list/TestResponsiveWrapper.js +0 -493
  655. package/lib/components/list/TestResponsiveWrapper.less +0 -968
  656. package/lib/components/list/components/EmptyState/EmptyState.d.ts +0 -20
  657. package/lib/components/list/components/EmptyState/EmptyState.js +0 -75
  658. package/lib/components/list/components/EmptyState/EmptyState.less +0 -121
  659. package/lib/components/list/components/EmptyState/index.d.ts +0 -2
  660. package/lib/components/list/components/EmptyState/index.js +0 -35
  661. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
  662. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.js +0 -75
  663. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.less +0 -29
  664. package/lib/components/list/components/ListItemSkeleton/index.d.ts +0 -2
  665. package/lib/components/list/components/ListItemSkeleton/index.js +0 -41
  666. package/lib/components/list/components/Pagination/Pagination.d.ts +0 -30
  667. package/lib/components/list/components/Pagination/Pagination.js +0 -205
  668. package/lib/components/list/components/Pagination/Pagination.less +0 -439
  669. package/lib/components/list/components/Pagination/index.d.ts +0 -1
  670. package/lib/components/list/components/Pagination/index.js +0 -35
  671. package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
  672. package/lib/components/list/components/ScrollLoader/ScrollLoader.less +0 -3
  673. package/lib/components/list/components/ScrollLoader/index.d.ts +0 -2
  674. package/lib/components/list/components/ScrollLoader/index.js +0 -35
  675. package/lib/components/list/components/Tab/Tab.d.ts +0 -5
  676. package/lib/components/list/components/Tab/Tab.js +0 -72
  677. package/lib/components/list/components/Tab/Tab.less +0 -139
  678. package/lib/components/list/components/Tab/index.d.ts +0 -2
  679. package/lib/components/list/components/Tab/index.js +0 -35
  680. package/lib/components/list/components/Tab/types.d.ts +0 -14
  681. package/lib/components/list/components/Tab/types.js +0 -17
  682. package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
  683. package/lib/components/list/components/TabSkeleton/TabSkeleton.js +0 -61
  684. package/lib/components/list/components/TabSkeleton/TabSkeleton.less +0 -38
  685. package/lib/components/list/components/TabSkeleton/index.d.ts +0 -2
  686. package/lib/components/list/components/TabSkeleton/index.js +0 -41
  687. package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
  688. package/lib/components/list/components/WaterfallList/WaterfallList.js +0 -178
  689. package/lib/components/list/components/WaterfallList/WaterfallList.less +0 -201
  690. package/lib/components/list/components/WaterfallList/index.d.ts +0 -2
  691. package/lib/components/list/components/WaterfallList/index.js +0 -35
  692. package/lib/components/list/examples/GroupedListExample.d.ts +0 -3
  693. package/lib/components/list/examples/GroupedListExample.js +0 -210
  694. package/lib/components/list/hooks/index.d.ts +0 -5
  695. package/lib/components/list/hooks/index.js +0 -47
  696. package/lib/components/list/hooks/useDevice.d.ts +0 -24
  697. package/lib/components/list/hooks/useDevice.js +0 -96
  698. package/lib/components/list/hooks/useListState.d.ts +0 -43
  699. package/lib/components/list/hooks/useListState.js +0 -149
  700. package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
  701. package/lib/components/list/hooks/useWaterfall.js +0 -124
  702. package/lib/components/list/index.d.ts +0 -10
  703. package/lib/components/list/index.js +0 -60
  704. package/lib/components/list/locales.d.ts +0 -66
  705. package/lib/components/list/locales.js +0 -113
  706. package/lib/components/list/styles/base.less +0 -39
  707. package/lib/components/list/styles/content.less +0 -416
  708. package/lib/components/list/styles/floatButton.less +0 -107
  709. package/lib/components/list/styles/footer.less +0 -49
  710. package/lib/components/list/styles/header.less +0 -69
  711. package/lib/components/list/styles/responsive.less +0 -166
  712. package/lib/components/list/types.d.ts +0 -177
  713. package/lib/components/list/utils/getText.d.ts +0 -53
  714. package/lib/components/list/utils/getText.js +0 -95
  715. package/lib/components/list/utils/index.d.ts +0 -4
  716. package/lib/components/list/utils/index.js +0 -43
  717. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
  718. package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +0 -165
  719. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
  720. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.js +0 -45
  721. package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.less +0 -41
  722. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
  723. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.js +0 -247
  724. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -50
  725. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +0 -101
  726. package/lib/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
  727. package/lib/components/ticketBooking/context/IsActiveContext.js +0 -56
  728. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
  729. package/lib/components/ticketBooking/context/OsKeyContext.js +0 -56
  730. package/lib/components/ticketBooking/context/index.d.ts +0 -2
  731. package/lib/components/ticketBooking/context/index.js +0 -44
  732. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
  733. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.js +0 -47
  734. package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +0 -6
  735. package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +0 -37
  736. package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
  737. package/lib/components/ticketBooking/utils/productCache.js +0 -144
  738. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
  739. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +0 -42
  740. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +0 -8
  741. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
  742. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +0 -42
  743. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +0 -17
  744. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
  745. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +0 -42
  746. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +0 -17
  747. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
  748. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +0 -42
  749. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +0 -17
  750. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
  751. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +0 -42
  752. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +0 -2
  753. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -8
  754. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +0 -129
  755. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +0 -8
  756. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
  757. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +0 -52
  758. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +0 -3
  759. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -7
  760. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +0 -178
  761. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +0 -44
  762. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
  763. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +0 -52
  764. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +0 -14
  765. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -4
  766. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +0 -63
  767. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +0 -30
  768. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -5
  769. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +0 -131
  770. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +0 -46
  771. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
  772. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +0 -62
  773. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +0 -9
  774. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -7
  775. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +0 -78
  776. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +0 -31
  777. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
  778. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +0 -51
  779. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +0 -3
  780. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -7
  781. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +0 -94
  782. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +0 -11
  783. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +0 -7
  784. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +0 -115
  785. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +0 -24
  786. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -6
  787. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +0 -139
  788. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +0 -57
  789. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -7
  790. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +0 -97
  791. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +0 -18
  792. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
  793. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +0 -51
  794. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +0 -3
  795. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
  796. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +0 -58
  797. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +0 -3
  798. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -6
  799. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +0 -56
  800. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +0 -13
  801. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -7
  802. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +0 -97
  803. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +0 -18
  804. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
  805. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +0 -51
  806. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +0 -3
  807. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -6
  808. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +0 -56
  809. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +0 -13
  810. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
  811. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +0 -58
  812. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +0 -22
  813. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
  814. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +0 -20
  815. package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +0 -6
  816. package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +0 -83
  817. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
  818. package/lib/plus/productSelect/ProductCard/SkuCard/index.js +0 -68
  819. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
  820. package/lib/plus/productSelect/ProductCard/SkuCard/locales.js +0 -65
  821. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
  822. package/lib/plus/productSelect/ProductCard/SkuCard/status.js +0 -501
  823. package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
  824. package/lib/plus/productSelect/ProductCard/SkuCard/type.js +0 -17
  825. package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
  826. package/lib/plus/productSelect/ProductCard/SkuCard/utils.js +0 -37
  827. package/lowcode/sku-card/meta.ts +0 -1812
  828. package/lowcode/sku-card/snippets.ts +0 -372
  829. package/lowcode/sku-list/meta.ts +0 -410
  830. /package/es/{components/list/components/Tab → plus/contactInfo}/types.js +0 -0
@@ -55,7 +55,7 @@ var ClientSearch = /*#__PURE__*/forwardRef(function (_ref, ref) {
55
55
  }, /*#__PURE__*/React.createElement("div", {
56
56
  className: "header-item",
57
57
  style: {
58
- width: 110
58
+ width: 180
59
59
  }
60
60
  }, locales.getText('pisell2.text.client-search.name')), /*#__PURE__*/React.createElement("div", {
61
61
  className: "header-item",
@@ -65,19 +65,14 @@ var ClientSearch = /*#__PURE__*/forwardRef(function (_ref, ref) {
65
65
  }, locales.getText('pisell2.text.client-search.register-time')), /*#__PURE__*/React.createElement("div", {
66
66
  className: "header-item",
67
67
  style: {
68
- width: 120
69
- }
70
- }, locales.getText('pisell2.text.client-search.phone')), /*#__PURE__*/React.createElement("div", {
71
- className: "header-item",
72
- style: {
73
- width: 135
68
+ width: 125
74
69
  }
75
- }, locales.getText('pisell2.text.client-search.email')), /*#__PURE__*/React.createElement("div", {
70
+ }, locales.getText('pisell2.text.client-search.membership')), /*#__PURE__*/React.createElement("div", {
76
71
  className: "header-item",
77
72
  style: {
78
- width: 120
73
+ width: 180
79
74
  }
80
- }, locales.getText('pisell2.text.client-search.membership')));
75
+ }, locales.getText('pisell2.text.client-search.contact-info')));
81
76
  };
82
77
 
83
78
  // 自定义结果展示组件
@@ -119,7 +114,7 @@ var ClientSearch = /*#__PURE__*/forwardRef(function (_ref, ref) {
119
114
  }, /*#__PURE__*/React.createElement(List, {
120
115
  dataSource: searchResults,
121
116
  renderItem: function renderItem(item, index) {
122
- var _latest_wallet_detail;
117
+ var _latest_wallet_detail, _item$contacts_info, _item$contacts_info2, _item$contacts_info3;
123
118
  var membershipText = (_latest_wallet_detail = item.latest_wallet_detail) === null || _latest_wallet_detail === void 0 || (_latest_wallet_detail = _latest_wallet_detail.wallet) === null || _latest_wallet_detail === void 0 ? void 0 : _latest_wallet_detail.name;
124
119
  return /*#__PURE__*/React.createElement(List.Item, {
125
120
  key: item.id,
@@ -135,26 +130,11 @@ var ClientSearch = /*#__PURE__*/forwardRef(function (_ref, ref) {
135
130
  }, /*#__PURE__*/React.createElement("div", {
136
131
  className: "item-cell",
137
132
  style: {
138
- width: 110
133
+ width: 180
139
134
  }
140
135
  }, /*#__PURE__*/React.createElement(ClientName, {
141
136
  dataSource: item
142
- })), /*#__PURE__*/React.createElement("div", {
143
- className: "item-cell",
144
- style: {
145
- width: 110
146
- }
147
- }, dayjs(item.created_at).format('YYYY-MM-DD') || '-'), /*#__PURE__*/React.createElement("div", {
148
- className: "item-cell",
149
- style: {
150
- width: 120
151
- }
152
- }, item.phone || '-'), /*#__PURE__*/React.createElement("div", {
153
- className: "item-cell",
154
- style: {
155
- width: 135
156
- }
157
- }, /*#__PURE__*/React.createElement("div", {
137
+ }), /*#__PURE__*/React.createElement("div", null, item.phone || '-'), /*#__PURE__*/React.createElement("div", {
158
138
  style: {
159
139
  overflow: 'hidden',
160
140
  textOverflow: 'ellipsis',
@@ -163,7 +143,12 @@ var ClientSearch = /*#__PURE__*/forwardRef(function (_ref, ref) {
163
143
  }, item.email || '-')), /*#__PURE__*/React.createElement("div", {
164
144
  className: "item-cell",
165
145
  style: {
166
- width: 120
146
+ width: 110
147
+ }
148
+ }, dayjs(item.created_at).format('YYYY-MM-DD') || '-'), /*#__PURE__*/React.createElement("div", {
149
+ className: "item-cell",
150
+ style: {
151
+ width: 125
167
152
  }
168
153
  }, membershipText && translationOriginal !== null && translationOriginal !== void 0 && translationOriginal(membershipText) ? /*#__PURE__*/React.createElement(Tag, {
169
154
  color: "gold",
@@ -177,7 +162,20 @@ var ClientSearch = /*#__PURE__*/forwardRef(function (_ref, ref) {
177
162
  borderRadius: 16,
178
163
  marginRight: 0
179
164
  }
180
- }, translationOriginal === null || translationOriginal === void 0 ? void 0 : translationOriginal(membershipText)) : '-')));
165
+ }, translationOriginal === null || translationOriginal === void 0 ? void 0 : translationOriginal(membershipText)) : '-'), /*#__PURE__*/React.createElement("div", {
166
+ className: "item-cell",
167
+ style: {
168
+ width: 180
169
+ }
170
+ }, /*#__PURE__*/React.createElement(ClientName, {
171
+ dataSource: item === null || item === void 0 || (_item$contacts_info = item.contacts_info) === null || _item$contacts_info === void 0 ? void 0 : _item$contacts_info.value
172
+ }), (item === null || item === void 0 || (_item$contacts_info2 = item.contacts_info) === null || _item$contacts_info2 === void 0 || (_item$contacts_info2 = _item$contacts_info2.value) === null || _item$contacts_info2 === void 0 || (_item$contacts_info2 = _item$contacts_info2.phone) === null || _item$contacts_info2 === void 0 ? void 0 : _item$contacts_info2.phone) || '-', /*#__PURE__*/React.createElement("div", {
173
+ style: {
174
+ overflow: 'hidden',
175
+ textOverflow: 'ellipsis',
176
+ whiteSpace: 'nowrap'
177
+ }
178
+ }, (item === null || item === void 0 || (_item$contacts_info3 = item.contacts_info) === null || _item$contacts_info3 === void 0 || (_item$contacts_info3 = _item$contacts_info3.value) === null || _item$contacts_info3 === void 0 ? void 0 : _item$contacts_info3.email) || '-'))));
181
179
  }
182
180
  }))));
183
181
  };
@@ -31,6 +31,7 @@ declare const _default: {
31
31
  'pisell2.text.client-search.phone': string;
32
32
  'pisell2.text.client-search.email': string;
33
33
  'pisell2.text.client-search.membership': string;
34
+ 'pisell2.text.client-search.contact-info': string;
34
35
  };
35
36
  'zh-CN': {
36
37
  'pisell2.text.leave-empty-for-walk-in': string;
@@ -64,6 +65,7 @@ declare const _default: {
64
65
  'pisell2.text.client-search.phone': string;
65
66
  'pisell2.text.client-search.email': string;
66
67
  'pisell2.text.client-search.membership': string;
68
+ 'pisell2.text.client-search.contact-info': string;
67
69
  };
68
70
  'zh-HK': {
69
71
  'pisell2.text.leave-empty-for-walk-in': string;
@@ -97,6 +99,7 @@ declare const _default: {
97
99
  'pisell2.text.client-search.phone': string;
98
100
  'pisell2.text.client-search.email': string;
99
101
  'pisell2.text.client-search.membership': string;
102
+ 'pisell2.text.client-search.contact-info': string;
100
103
  };
101
104
  };
102
105
  export default _default;
@@ -17,7 +17,7 @@ export default {
17
17
  'pisell2.text.save': 'Save',
18
18
  'pisell2.text.save-and-select': 'Save and select',
19
19
  'pisell2.text.no-results-found': 'No results found.',
20
- 'pisell2.text.create-new-client': 'Create new client',
20
+ 'pisell2.text.create-new-client': 'Create new customer',
21
21
  'pisell2.text.result-found': 'Result found',
22
22
  'pisell2.text.personnel-list': 'Personnel list',
23
23
  'pisell2.text.load-more': 'Load more',
@@ -30,7 +30,8 @@ export default {
30
30
  'pisell2.text.client-search.register-time': 'Registration Time',
31
31
  'pisell2.text.client-search.phone': 'Phone Number',
32
32
  'pisell2.text.client-search.email': 'Email Address',
33
- 'pisell2.text.client-search.membership': 'Membership'
33
+ 'pisell2.text.client-search.membership': 'Membership',
34
+ 'pisell2.text.client-search.contact-info': 'Contact info'
34
35
  },
35
36
  'zh-CN': {
36
37
  'pisell2.text.leave-empty-for-walk-in': '如未注册游客则留空',
@@ -63,7 +64,8 @@ export default {
63
64
  'pisell2.text.client-search.register-time': '注册时间',
64
65
  'pisell2.text.client-search.phone': '电话号码',
65
66
  'pisell2.text.client-search.email': '邮箱',
66
- 'pisell2.text.client-search.membership': '会员'
67
+ 'pisell2.text.client-search.membership': '会员',
68
+ 'pisell2.text.client-search.contact-info': '联系信息'
67
69
  },
68
70
  'zh-HK': {
69
71
  'pisell2.text.leave-empty-for-walk-in': '如未註冊遊客則留空',
@@ -96,6 +98,7 @@ export default {
96
98
  'pisell2.text.client-search.register-time': '註冊時間',
97
99
  'pisell2.text.client-search.phone': '電話號碼',
98
100
  'pisell2.text.client-search.email': '電郵地址',
99
- 'pisell2.text.client-search.membership': '會員'
101
+ 'pisell2.text.client-search.membership': '會員',
102
+ 'pisell2.text.client-search.contact-info': '聯繫信息'
100
103
  }
101
104
  };
@@ -10,6 +10,18 @@ export interface ClientData {
10
10
  nickname: string;
11
11
  shop_id: number;
12
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
+ };
13
25
  }
14
26
  export interface ClientSearchProps {
15
27
  dataSource?: any;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { AvatarConfig } from '../../types';
3
+ import '../../index.less';
4
+ interface AvatarProps {
5
+ config?: AvatarConfig;
6
+ name: string;
7
+ cover?: string;
8
+ }
9
+ declare const Avatar: React.FC<AvatarProps>;
10
+ export default Avatar;
@@ -0,0 +1,30 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+ import React from 'react';
3
+ import { PisellAvatar } from '@pisell/materials';
4
+ import { getAvatarText } from "../../utils";
5
+ import { PREFIX } from "../../index";
6
+ import "../../index.less";
7
+ var Avatar = function Avatar(props) {
8
+ var config = props.config,
9
+ name = props.name,
10
+ cover = props.cover;
11
+ var _ref = config || {},
12
+ useTextAvatar = _ref.useTextAvatar,
13
+ children = _ref.children;
14
+ if (useTextAvatar) {
15
+ var text = children || getAvatarText(name);
16
+ return /*#__PURE__*/React.createElement("div", {
17
+ className: "".concat(PREFIX, "__avatar-wrapper")
18
+ }, /*#__PURE__*/React.createElement(PisellAvatar, _extends({
19
+ className: "".concat(PREFIX, "__avatar")
20
+ }, config || {}), text));
21
+ }
22
+ return /*#__PURE__*/React.createElement("div", {
23
+ className: "".concat(PREFIX, "__avatar-wrapper")
24
+ }, /*#__PURE__*/React.createElement(PisellAvatar, _extends({
25
+ className: "".concat(PREFIX, "__avatar")
26
+ }, config || {}, {
27
+ src: cover || ''
28
+ })));
29
+ };
30
+ export default Avatar;
@@ -0,0 +1,46 @@
1
+ import type { ReactNode } from 'react';
2
+ import React from 'react';
3
+ declare type NativeProps<S extends string = never> = {
4
+ className?: string;
5
+ style?: React.CSSProperties & Partial<Record<S, string>>;
6
+ };
7
+ declare type PropagationEvent = 'click';
8
+ import './index.less';
9
+ declare type SideType = 'left' | 'right';
10
+ export declare type SwipeActionRef = {
11
+ close: () => void;
12
+ show: (side?: SideType) => void;
13
+ };
14
+ declare type ActionColor = 'light' | 'weak' | 'primary' | 'success' | 'warning' | 'danger';
15
+ export declare type Action = {
16
+ key: string | number;
17
+ text: ReactNode;
18
+ color?: ActionColor | string;
19
+ onClick?: (e: React.MouseEvent) => void;
20
+ style?: React.CSSProperties;
21
+ };
22
+ export declare type SwipeActionProps = {
23
+ rightActions?: Action[];
24
+ leftActions?: Action[];
25
+ onAction?: (action: Action, e: React.MouseEvent) => void;
26
+ closeOnTouchOutside?: boolean;
27
+ closeOnAction?: boolean;
28
+ children: ReactNode;
29
+ stopPropagation?: PropagationEvent[];
30
+ onActionsReveal?: (side: SideType) => void;
31
+ onClose?: () => void;
32
+ escapeDom?: string;
33
+ } & NativeProps<'--background'>;
34
+ export declare const SwipeAction: React.ForwardRefExoticComponent<{
35
+ rightActions?: Action[] | undefined;
36
+ leftActions?: Action[] | undefined;
37
+ onAction?: ((action: Action, e: React.MouseEvent) => void) | undefined;
38
+ closeOnTouchOutside?: boolean | undefined;
39
+ closeOnAction?: boolean | undefined;
40
+ children: ReactNode;
41
+ stopPropagation?: "click"[] | undefined;
42
+ onActionsReveal?: ((side: SideType) => void) | undefined;
43
+ onClose?: (() => void) | undefined;
44
+ escapeDom?: string | undefined;
45
+ } & NativeProps<"--background"> & React.RefAttributes<SwipeActionRef>>;
46
+ export {};
@@ -0,0 +1,360 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
10
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
11
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
13
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
14
+ import { animated, useSpring } from '@react-spring/web';
15
+ import { useDrag } from '@use-gesture/react/dist/use-gesture-react.cjs';
16
+ import React, { forwardRef, useEffect, useImperativeHandle, useRef, useState } from 'react';
17
+
18
+ // 本地实现的工具函数和类型
19
+
20
+ // withNativeProps 工具函数
21
+ function withNativeProps(props, element) {
22
+ var p = _objectSpread({}, element.props);
23
+ if (props.className) {
24
+ p.className = props.className + (element.props.className ? " ".concat(element.props.className) : '');
25
+ }
26
+ if (props.style) {
27
+ p.style = _objectSpread(_objectSpread({}, props.style), element.props.style);
28
+ }
29
+ return /*#__PURE__*/React.cloneElement(element, p);
30
+ }
31
+
32
+ // nearest 工具函数
33
+ function nearest(arr, target) {
34
+ return arr.reduce(function (prev, curr) {
35
+ return Math.abs(curr - target) < Math.abs(prev - target) ? curr : prev;
36
+ });
37
+ }
38
+
39
+ // mergeProps 工具函数
40
+ function mergeProps(a, b) {
41
+ return _objectSpread(_objectSpread({}, a), b);
42
+ }
43
+
44
+ // withStopPropagation 工具函数
45
+ function withStopPropagation(events, element) {
46
+ if (!events.includes('click')) {
47
+ return element;
48
+ }
49
+ var onClick = function onClick(e) {
50
+ var _element$props$onClic, _element$props;
51
+ e.stopPropagation();
52
+ (_element$props$onClic = (_element$props = element.props).onClick) === null || _element$props$onClic === void 0 || _element$props$onClic.call(_element$props, e);
53
+ };
54
+ return /*#__PURE__*/React.cloneElement(element, _objectSpread(_objectSpread({}, element.props), {}, {
55
+ onClick: onClick
56
+ }));
57
+ }
58
+
59
+ // Button 组件实现
60
+
61
+ var Button = function Button(_ref) {
62
+ var children = _ref.children,
63
+ className = _ref.className,
64
+ style = _ref.style,
65
+ onClick = _ref.onClick;
66
+ return /*#__PURE__*/React.createElement("button", {
67
+ className: className,
68
+ style: _objectSpread({
69
+ border: 'none',
70
+ background: (style === null || style === void 0 ? void 0 : style['--background-color']) || 'transparent'
71
+ }, style),
72
+ onClick: onClick
73
+ }, children);
74
+ };
75
+ import "./index.less";
76
+ var classPrefix = "pisell-custom-swipe-action";
77
+ var defaultProps = {
78
+ rightActions: [],
79
+ leftActions: [],
80
+ closeOnTouchOutside: true,
81
+ closeOnAction: true,
82
+ stopPropagation: []
83
+ };
84
+ export var SwipeAction = /*#__PURE__*/forwardRef(function (p, ref) {
85
+ var props = mergeProps(defaultProps, p);
86
+ var rootRef = useRef(null);
87
+ var leftRef = useRef(null);
88
+ var rightRef = useRef(null);
89
+
90
+ // 添加容器高度状态
91
+ var _useState = useState(0),
92
+ _useState2 = _slicedToArray(_useState, 2),
93
+ containerHeight = _useState2[0],
94
+ setContainerHeight = _useState2[1];
95
+ function getWidth(ref) {
96
+ var element = ref.current;
97
+ if (!element) return 0;
98
+ return element.offsetWidth;
99
+ }
100
+
101
+ // 添加获取高度的函数
102
+ function getHeight(ref) {
103
+ var element = ref.current;
104
+ if (!element) return 0;
105
+ return element.offsetHeight;
106
+ }
107
+ function getLeftWidth() {
108
+ return getWidth(leftRef);
109
+ }
110
+ function getRightWidth() {
111
+ return getWidth(rightRef);
112
+ }
113
+
114
+ // 添加获取根容器高度的函数
115
+ function getRootHeight() {
116
+ return getHeight(rootRef);
117
+ }
118
+ var _useSpring = useSpring(function () {
119
+ return {
120
+ x: 0,
121
+ config: {
122
+ tension: 200,
123
+ friction: 30
124
+ }
125
+ };
126
+ }, []),
127
+ _useSpring2 = _slicedToArray(_useSpring, 2),
128
+ x = _useSpring2[0].x,
129
+ api = _useSpring2[1];
130
+ var draggingRef = useRef(false);
131
+ var dragCancelRef = useRef(null);
132
+ function forceCancelDrag() {
133
+ var _dragCancelRef$curren;
134
+ (_dragCancelRef$curren = dragCancelRef.current) === null || _dragCancelRef$curren === void 0 || _dragCancelRef$curren.call(dragCancelRef);
135
+ draggingRef.current = false;
136
+ }
137
+ var bind = useDrag(function (state) {
138
+ dragCancelRef.current = state.cancel;
139
+ if (!state.intentional) return;
140
+ if (state.down) {
141
+ draggingRef.current = true;
142
+ }
143
+ if (!draggingRef.current) return;
144
+ var _state$offset = _slicedToArray(state.offset, 1),
145
+ offsetX = _state$offset[0];
146
+ if (state.last) {
147
+ var leftWidth = getLeftWidth();
148
+ var rightWidth = getRightWidth();
149
+ var position = offsetX + state.velocity[0] * state.direction[0] * 50;
150
+ if (offsetX > 0) {
151
+ position = Math.max(0, position);
152
+ } else if (offsetX < 0) {
153
+ position = Math.min(0, position);
154
+ } else {
155
+ position = 0;
156
+ }
157
+ var targetX = nearest([-rightWidth, 0, leftWidth], position);
158
+ api.start({
159
+ x: targetX
160
+ });
161
+ if (targetX !== 0) {
162
+ var _p$onActionsReveal;
163
+ (_p$onActionsReveal = p.onActionsReveal) === null || _p$onActionsReveal === void 0 || _p$onActionsReveal.call(p, targetX > 0 ? 'left' : 'right');
164
+ }
165
+ window.setTimeout(function () {
166
+ draggingRef.current = false;
167
+ });
168
+ } else {
169
+ api.start({
170
+ x: offsetX,
171
+ immediate: true
172
+ });
173
+ }
174
+ }, {
175
+ from: function from() {
176
+ return [x.get(), 0];
177
+ },
178
+ bounds: function bounds() {
179
+ var leftWidth = getLeftWidth();
180
+ var rightWidth = getRightWidth();
181
+ return {
182
+ left: -rightWidth,
183
+ right: leftWidth
184
+ };
185
+ },
186
+ axis: 'x',
187
+ preventScroll: true,
188
+ pointer: {
189
+ touch: true
190
+ },
191
+ triggerAllEvents: true
192
+ });
193
+ var close = function close() {
194
+ var _props$onClose;
195
+ api.start({
196
+ x: 0
197
+ });
198
+ forceCancelDrag();
199
+ (_props$onClose = props.onClose) === null || _props$onClose === void 0 || _props$onClose.call(props);
200
+ };
201
+ useImperativeHandle(ref, function () {
202
+ return {
203
+ show: function show() {
204
+ var _p$onActionsReveal2;
205
+ var side = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'right';
206
+ if (side === 'right') {
207
+ api.start({
208
+ x: -getRightWidth()
209
+ });
210
+ } else if (side === 'left') {
211
+ api.start({
212
+ x: getLeftWidth()
213
+ });
214
+ }
215
+ (_p$onActionsReveal2 = p.onActionsReveal) === null || _p$onActionsReveal2 === void 0 || _p$onActionsReveal2.call(p, side);
216
+ },
217
+ close: close
218
+ };
219
+ });
220
+
221
+ // 添加高度检测的 useEffect
222
+ useEffect(function () {
223
+ var updateHeight = function updateHeight() {
224
+ var height = getRootHeight();
225
+ setContainerHeight(height);
226
+ };
227
+
228
+ // 组件挂载后检测高度
229
+ updateHeight();
230
+
231
+ // 监听窗口大小变化
232
+ var resizeObserver = new ResizeObserver(updateHeight);
233
+ if (rootRef.current) {
234
+ resizeObserver.observe(rootRef.current);
235
+ }
236
+ return function () {
237
+ resizeObserver.disconnect();
238
+ };
239
+ }, []);
240
+ useEffect(function () {
241
+ if (!props.closeOnTouchOutside) return;
242
+ function handle(e) {
243
+ // 检查点击的元素或其祖先元素是否有特定 class
244
+ if (e.target && props.escapeDom) {
245
+ var container = document.querySelector(props.escapeDom);
246
+ if (container !== null && container !== void 0 && container.contains(e.target)) return;
247
+ }
248
+ if (x.get() === 0) {
249
+ return;
250
+ }
251
+ var root = rootRef.current;
252
+ if (root && !root.contains(e.target)) {
253
+ close();
254
+ }
255
+ }
256
+ if ('ontouchstart' in window) {
257
+ document.addEventListener('touchstart', handle);
258
+ } else {
259
+ document.addEventListener('mousedown', handle);
260
+ }
261
+ return function () {
262
+ document.removeEventListener('touchstart', handle);
263
+ document.removeEventListener('mousedown', handle);
264
+ };
265
+ }, [props.closeOnTouchOutside, props.escapeDom]);
266
+
267
+ // 根据容器高度获取右侧容器的 class 名称
268
+ var getRightContainerClass = function getRightContainerClass() {
269
+ var baseClass = "".concat(classPrefix, "-actions ").concat(classPrefix, "-actions-right");
270
+ if (containerHeight > 180) {
271
+ return "".concat(baseClass, " ").concat(classPrefix, "-height-large");
272
+ } else if (containerHeight > 120) {
273
+ return "".concat(baseClass, " ").concat(classPrefix, "-height-medium");
274
+ }
275
+ return "".concat(baseClass, " ").concat(classPrefix, "-height-small");
276
+ };
277
+
278
+ // 根据容器高度获取右侧按钮的 class 名称
279
+ var getRightActionButtonClass = function getRightActionButtonClass() {
280
+ if (containerHeight > 180) {
281
+ return "".concat(classPrefix, "-action-height-large");
282
+ } else if (containerHeight > 120) {
283
+ return "".concat(classPrefix, "-action-height-medium");
284
+ }
285
+ return "".concat(classPrefix, "-action-height-small");
286
+ };
287
+ function renderAction(action) {
288
+ var _action$color, _colorRecord$color;
289
+ var isRightAction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
290
+ var color = (_action$color = action.color) !== null && _action$color !== void 0 ? _action$color : 'light';
291
+ var _style = action.style || {};
292
+
293
+ // 为右侧按钮添加基于高度的 class
294
+ var buttonClass = isRightAction ? "".concat(classPrefix, "-action-button ").concat(getRightActionButtonClass()) : "".concat(classPrefix, "-action-button");
295
+ return /*#__PURE__*/React.createElement(Button, {
296
+ key: action.key,
297
+ className: buttonClass,
298
+ style: _objectSpread({
299
+ '--background-color': (_colorRecord$color = colorRecord[color]) !== null && _colorRecord$color !== void 0 ? _colorRecord$color : color
300
+ }, _style),
301
+ onClick: function onClick(e) {
302
+ var _action$onClick, _props$onAction;
303
+ if (props.closeOnAction) {
304
+ close();
305
+ }
306
+ (_action$onClick = action.onClick) === null || _action$onClick === void 0 || _action$onClick.call(action, e);
307
+ (_props$onAction = props.onAction) === null || _props$onAction === void 0 || _props$onAction.call(props, action, e);
308
+ }
309
+ }, action.text);
310
+ }
311
+ return withNativeProps(props, /*#__PURE__*/React.createElement("div", _extends({
312
+ className: classPrefix
313
+ }, bind(), {
314
+ ref: rootRef,
315
+ onClickCapture: function onClickCapture(e) {
316
+ if (draggingRef.current) {
317
+ e.stopPropagation();
318
+ e.preventDefault();
319
+ }
320
+ }
321
+ }), /*#__PURE__*/React.createElement(animated.div, {
322
+ className: "".concat(classPrefix, "-track"),
323
+ style: {
324
+ x: x
325
+ }
326
+ }, withStopPropagation(props.stopPropagation, /*#__PURE__*/React.createElement("div", {
327
+ className: "".concat(classPrefix, "-actions ").concat(classPrefix, "-actions-left"),
328
+ ref: leftRef
329
+ }, props.leftActions.map(function (action) {
330
+ return renderAction(action, false);
331
+ }))), /*#__PURE__*/React.createElement("div", {
332
+ className: "".concat(classPrefix, "-content"),
333
+ onClickCapture: function onClickCapture(e) {
334
+ if (x.goal !== 0) {
335
+ e.preventDefault();
336
+ e.stopPropagation();
337
+ close();
338
+ }
339
+ }
340
+ }, /*#__PURE__*/React.createElement(animated.div, {
341
+ style: {
342
+ pointerEvents: x.to(function (v) {
343
+ return v !== 0 && x.goal !== 0 ? 'none' : 'auto';
344
+ })
345
+ }
346
+ }, props.children)), withStopPropagation(props.stopPropagation, /*#__PURE__*/React.createElement("div", {
347
+ className: getRightContainerClass(),
348
+ ref: rightRef
349
+ }, props.rightActions.map(function (action) {
350
+ return renderAction(action, true);
351
+ }))))));
352
+ });
353
+ var colorRecord = {
354
+ light: '#ccc',
355
+ weak: '#999',
356
+ primary: '#1677ff',
357
+ success: '#00b578',
358
+ warning: '#ff8f1f',
359
+ danger: '#ff3141'
360
+ };