@pisell/private-materials 6.4.35 → 6.4.36

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 (407) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +150 -150
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +6 -6
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +8 -8
  11. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  16. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  18. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  19. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  20. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  21. package/es/components/booking/components/actionButtons/index.js +2 -2
  22. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  23. package/es/components/booking/components/customiseItemModal/index.js +2 -2
  24. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  25. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  26. package/es/components/booking/components/footer/index.js +48 -42
  27. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  28. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  29. package/es/components/booking/forms/footer.d.ts +0 -1
  30. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  31. package/es/components/booking/forms/single/index.d.ts +0 -1
  32. package/es/components/booking/forms/table/index.d.ts +0 -1
  33. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  34. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  35. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  36. package/es/components/booking/info/date/index.d.ts +0 -1
  37. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  38. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  39. package/es/components/booking/info/notes/index.d.ts +0 -1
  40. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  41. package/es/components/booking/info/service/like/index.d.ts +0 -1
  42. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  43. package/es/components/booking/info2/cartClientCard/index.js +1 -2
  44. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  45. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  46. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  47. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  48. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  49. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  50. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  51. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  52. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  53. package/es/components/checkout/PaymentModal.js +716 -434
  54. package/es/components/checkout/components/AdditionalModule/index.d.ts +1 -1
  55. package/es/components/checkout/components/AdditionalModule/index.js +80 -49
  56. package/es/components/checkout/components/AdditionalModule/index.less +33 -34
  57. package/es/components/checkout/components/AdditionalModule/locales.d.ts +3 -0
  58. package/es/components/checkout/components/AdditionalModule/locales.js +7 -4
  59. package/es/components/checkout/components/AmountSummary/index.d.ts +2 -1
  60. package/es/components/checkout/components/AmountSummary/index.js +69 -31
  61. package/es/components/checkout/components/AmountSummary/index.less +27 -9
  62. package/es/components/checkout/components/CashPaymentModule/index.less +0 -2
  63. package/es/components/checkout/components/PaymentDetailModal/index.js +55 -10
  64. package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -1
  65. package/es/components/checkout/components/PaymentOptionsModule/index.js +40 -25
  66. package/es/components/checkout/components/PaymentOptionsModule/index.less +11 -6
  67. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +42 -9
  68. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +512 -82
  69. package/es/components/checkout/components/PaymentResultToast/index.d.ts +2 -1
  70. package/es/components/checkout/components/PaymentResultToast/index.js +90 -35
  71. package/es/components/checkout/components/PaymentResultToast/index.less +445 -77
  72. package/es/components/checkout/components/PaymentResultToast/types.d.ts +3 -3
  73. package/es/components/checkout/components/PaymentResultToast/utils.d.ts +26 -0
  74. package/es/components/checkout/components/PaymentResultToast/utils.js +81 -2
  75. package/es/components/checkout/components/SearchAndClientModule/index.js +17 -16
  76. package/es/components/checkout/components/SearchAndClientModule/index.less +29 -8
  77. package/es/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.js +3 -1
  78. package/es/components/checkout/components/WalletPassModule/index.less +3 -3
  79. package/es/components/checkout/hooks/useWalletPass.js +1 -1
  80. package/es/components/checkout/index.d.ts +1 -1
  81. package/es/components/checkout/index.js +1 -1
  82. package/es/components/checkout/index.less +56 -38
  83. package/es/components/checkout/locales.d.ts +6 -0
  84. package/es/components/checkout/locales.js +9 -3
  85. package/es/components/checkout/payment-modal-utils.js +5 -5
  86. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +3 -3
  87. package/es/components/checkout/utils/PaymentResultToastUtils.js +111 -72
  88. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  89. package/es/components/eftpos/form/index.d.ts +0 -1
  90. package/es/components/eftpos/group/index.d.ts +0 -1
  91. package/es/components/eftpos/hooks.d.ts +0 -1
  92. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  93. package/es/components/eftpos/icon/device.d.ts +0 -1
  94. package/es/components/eftpos/index.d.ts +0 -1
  95. package/es/components/eftpos/pos.d.ts +0 -1
  96. package/es/components/eftpos/receipt/index.d.ts +0 -1
  97. package/es/components/eftposPay/amount.d.ts +0 -1
  98. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  99. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  100. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  101. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  102. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  103. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  104. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  105. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  106. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  107. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  108. package/es/components/eftposPay/pay.d.ts +0 -1
  109. package/es/components/eftposPay/payo/config.d.ts +0 -1
  110. package/es/components/eftposPay/tip.d.ts +0 -1
  111. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  112. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  113. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  114. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  115. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  116. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  117. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  118. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  119. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  120. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  121. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  122. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  123. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  124. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  125. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  126. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  127. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  128. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  129. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  130. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  131. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  132. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  133. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  134. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  135. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  136. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  137. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  138. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  139. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  140. package/es/components/login/index.d.ts +0 -1
  141. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  142. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  143. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  144. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  145. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  146. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  147. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  148. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  149. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  150. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  151. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  152. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  153. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  154. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  155. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  156. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  157. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  158. package/es/components/schedules/calendar/index.d.ts +0 -1
  159. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  160. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  161. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  162. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  163. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  164. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  165. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  166. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  167. package/es/components/schedules/products/index.d.ts +0 -1
  168. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  169. package/es/components/schedules/products/list/index.d.ts +0 -1
  170. package/es/components/schedules/resources/index.d.ts +0 -1
  171. package/es/components/schedules/resources/list/index.d.ts +0 -1
  172. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  173. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  174. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  175. package/es/components/schedules/schedules/index.d.ts +0 -1
  176. package/es/components/schedules/utils.d.ts +1 -1
  177. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  178. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  179. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  180. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  181. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  182. package/es/components/shoppingCart/index.d.ts +0 -1
  183. package/es/components/ticketBooking/components/addServiceVariant/addService.js +4 -3
  184. package/es/components/ticketBooking/components/bookingDataPanel/index.js +1 -1
  185. package/es/components/ticketBooking/components/ticketBooking/index.js +2 -2
  186. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  187. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +1 -1
  188. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +1 -1
  189. package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +1 -1
  190. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  191. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  192. package/es/plus/clientCard/index.js +3 -2
  193. package/es/plus/clientCard/index.less +3 -32
  194. package/es/plus/clientName/index.d.ts +0 -1
  195. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  196. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  197. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  198. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  199. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  200. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  201. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  202. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  203. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  204. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  205. package/es/pro/comprehensiveSearch/components/searchSection/index.js +9 -12
  206. package/es/pro/comprehensiveSearch/components/searchSection/index.less +22 -19
  207. package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  208. package/es/utils/index.d.ts +1 -1
  209. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  210. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  211. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  212. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  213. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  214. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  215. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  216. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  217. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  218. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  219. package/lib/components/booking/components/actionButtons/index.js +2 -1
  220. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  221. package/lib/components/booking/components/customiseItemModal/index.js +2 -2
  222. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  223. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  224. package/lib/components/booking/components/footer/index.js +3 -0
  225. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  226. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  227. package/lib/components/booking/forms/footer.d.ts +0 -1
  228. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  229. package/lib/components/booking/forms/single/index.d.ts +0 -1
  230. package/lib/components/booking/forms/table/index.d.ts +0 -1
  231. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  232. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  233. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  234. package/lib/components/booking/info/date/index.d.ts +0 -1
  235. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  236. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  237. package/lib/components/booking/info/notes/index.d.ts +0 -1
  238. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  239. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  240. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  241. package/lib/components/booking/info2/cartClientCard/index.js +1 -2
  242. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  243. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  244. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  245. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  246. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  247. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  248. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  249. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  250. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  251. package/lib/components/checkout/PaymentModal.js +218 -93
  252. package/lib/components/checkout/components/AdditionalModule/index.d.ts +1 -1
  253. package/lib/components/checkout/components/AdditionalModule/index.js +98 -34
  254. package/lib/components/checkout/components/AdditionalModule/index.less +33 -34
  255. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +3 -0
  256. package/lib/components/checkout/components/AdditionalModule/locales.js +7 -4
  257. package/lib/components/checkout/components/AmountSummary/index.d.ts +2 -1
  258. package/lib/components/checkout/components/AmountSummary/index.js +103 -47
  259. package/lib/components/checkout/components/AmountSummary/index.less +27 -9
  260. package/lib/components/checkout/components/CashPaymentModule/index.less +0 -2
  261. package/lib/components/checkout/components/PaymentDetailModal/index.js +56 -11
  262. package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -1
  263. package/lib/components/checkout/components/PaymentOptionsModule/index.js +11 -8
  264. package/lib/components/checkout/components/PaymentOptionsModule/index.less +11 -6
  265. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +42 -9
  266. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +279 -73
  267. package/lib/components/checkout/components/PaymentResultToast/index.d.ts +2 -1
  268. package/lib/components/checkout/components/PaymentResultToast/index.js +69 -22
  269. package/lib/components/checkout/components/PaymentResultToast/index.less +445 -77
  270. package/lib/components/checkout/components/PaymentResultToast/types.d.ts +3 -3
  271. package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +26 -0
  272. package/lib/components/checkout/components/PaymentResultToast/utils.js +58 -4
  273. package/lib/components/checkout/components/SearchAndClientModule/index.js +17 -15
  274. package/lib/components/checkout/components/SearchAndClientModule/index.less +29 -8
  275. package/lib/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.js +12 -2
  276. package/lib/components/checkout/components/WalletPassModule/index.less +3 -3
  277. package/lib/components/checkout/hooks/useWalletPass.js +2 -2
  278. package/lib/components/checkout/index.d.ts +1 -1
  279. package/lib/components/checkout/index.js +2 -0
  280. package/lib/components/checkout/index.less +56 -38
  281. package/lib/components/checkout/locales.d.ts +6 -0
  282. package/lib/components/checkout/locales.js +9 -3
  283. package/lib/components/checkout/payment-modal-utils.js +5 -5
  284. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +3 -3
  285. package/lib/components/checkout/utils/PaymentResultToastUtils.js +26 -18
  286. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  287. package/lib/components/eftpos/form/index.d.ts +0 -1
  288. package/lib/components/eftpos/group/index.d.ts +0 -1
  289. package/lib/components/eftpos/hooks.d.ts +0 -1
  290. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  291. package/lib/components/eftpos/icon/device.d.ts +0 -1
  292. package/lib/components/eftpos/index.d.ts +0 -1
  293. package/lib/components/eftpos/pos.d.ts +0 -1
  294. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  295. package/lib/components/eftposPay/amount.d.ts +0 -1
  296. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  297. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  298. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  299. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  300. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  301. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  302. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  303. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  304. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  305. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  306. package/lib/components/eftposPay/pay.d.ts +0 -1
  307. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  308. package/lib/components/eftposPay/tip.d.ts +0 -1
  309. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  310. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  311. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  312. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  313. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  314. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  315. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  316. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  317. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  318. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  319. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  320. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  321. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  322. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  323. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  324. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  325. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  326. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  327. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  328. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  329. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  330. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  331. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  332. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  333. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  334. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  335. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  336. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/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/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  340. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  341. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  342. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  343. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  344. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  345. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  346. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  347. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  348. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  349. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  350. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  351. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  352. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  353. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  354. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  355. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  356. package/lib/components/schedules/calendar/index.d.ts +0 -1
  357. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  358. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  359. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  360. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  361. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  362. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  363. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  364. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  365. package/lib/components/schedules/products/index.d.ts +0 -1
  366. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  367. package/lib/components/schedules/products/list/index.d.ts +0 -1
  368. package/lib/components/schedules/resources/index.d.ts +0 -1
  369. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  370. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  371. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  372. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  373. package/lib/components/schedules/schedules/index.d.ts +0 -1
  374. package/lib/components/schedules/utils.d.ts +1 -1
  375. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  376. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  377. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  378. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  379. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  380. package/lib/components/shoppingCart/index.d.ts +0 -1
  381. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +7 -6
  382. package/lib/components/ticketBooking/components/bookingDataPanel/index.js +2 -2
  383. package/lib/components/ticketBooking/components/ticketBooking/index.js +1 -1
  384. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  385. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +2 -12
  386. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +2 -12
  387. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +2 -12
  388. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  389. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  390. package/lib/plus/clientCard/index.js +5 -4
  391. package/lib/plus/clientCard/index.less +3 -32
  392. package/lib/plus/clientName/index.d.ts +0 -1
  393. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  394. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  395. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  396. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  397. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  398. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  399. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  400. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  401. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  402. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  403. package/lib/pro/comprehensiveSearch/components/searchSection/index.js +6 -18
  404. package/lib/pro/comprehensiveSearch/components/searchSection/index.less +22 -19
  405. package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  406. package/lib/utils/index.d.ts +1 -1
  407. package/package.json +12 -12
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface ProductListProps {
4
3
  loading: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resources: () => JSX.Element;
4
3
  export default Resources;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ResourcesListProps = {
4
3
  list: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from '../../type';
3
2
  import './index.less';
4
3
  declare type AllSchedulesPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DrawerProps } from "antd";
3
2
  import { ScheduleItem } from "../../type";
4
3
  import "./index.less";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SchedulesConnect: () => JSX.Element;
3
2
  export default SchedulesConnect;
@@ -17,6 +17,6 @@ declare let modal: Omit<ModalStaticFunctions, "warn">;
17
17
  export declare const setModal: (m: Omit<ModalStaticFunctions, "warn">) => void;
18
18
  export declare const saveConfirm: () => Promise<{
19
19
  destroy: () => void;
20
- update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
20
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
21
21
  }>;
22
22
  export { modal };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: () => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Content: () => JSX.Element;
4
3
  export default Content;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useAddService: (id?: number, type?: string) => JSX.Element | null;
3
2
  export default useAddService;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useClearCart: (key?: number | undefined) => JSX.Element | null;
3
2
  export default useClearCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { shoppingCartProps } from './type';
3
2
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
4
3
  export default shoppingCart;
@@ -48,6 +48,7 @@ var import_notAvailable = __toESM(require("../notAvailable"));
48
48
  var import_dayjs = __toESM(require("dayjs"));
49
49
  var import_pisellos = require("../../hooks/pisellos");
50
50
  var import_utils7 = require("./utils");
51
+ var import_materials = require("@pisell/materials");
51
52
  var productListLayout = {
52
53
  grid: true,
53
54
  config: "12:12"
@@ -61,13 +62,13 @@ var productListSetting = {
61
62
  isStock: 0
62
63
  };
63
64
  var AddSerivce = (props) => {
64
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
65
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
65
66
  const { onEdit, state, dispatch, renderMode = "current" } = props;
66
67
  const context = (0, import_useEngineContext.default)();
67
68
  const notAvailableRef = (0, import_react.useRef)(null);
68
69
  const isLoadedServiceRef = (0, import_react.useRef)(false);
69
70
  import_utils2.request.setRequest(context.appHelper.utils.request);
70
- const Toast = (_b = (_a = context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.Toast;
71
+ const Toast = (0, import_materials.useToast)();
71
72
  const { createBookingData, createBooking } = (0, import_serviceManager.useService)({
72
73
  renderMode,
73
74
  onEdit,
@@ -75,9 +76,9 @@ var AddSerivce = (props) => {
75
76
  dispatch
76
77
  });
77
78
  const isBooking4 = (0, import_utils5.isBooking4Shop)(
78
- ((_e = (_d = (_c = context.appHelper) == null ? void 0 : _c.utils) == null ? void 0 : _d.getData) == null ? void 0 : _e.call(_d, "shop_id")) || ((_j = (_i = (_h = (_g = (_f = context.appHelper.utils.store) == null ? void 0 : _f.getState) == null ? void 0 : _g.call(_f)) == null ? void 0 : _h.global) == null ? void 0 : _i.globalConfig) == null ? void 0 : _j.id),
79
+ ((_c = (_b = (_a = context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.getData) == null ? void 0 : _c.call(_b, "shop_id")) || ((_h = (_g = (_f = (_e = (_d = context.appHelper.utils.store) == null ? void 0 : _d.getState) == null ? void 0 : _e.call(_d)) == null ? void 0 : _f.global) == null ? void 0 : _g.globalConfig) == null ? void 0 : _h.id),
79
80
  state == null ? void 0 : state.renderType,
80
- (_k = context.appHelper.utils) == null ? void 0 : _k.businessUtils
81
+ (_i = context.appHelper.utils) == null ? void 0 : _i.businessUtils
81
82
  );
82
83
  const [currentProduct, setCurrentProduct] = (0, import_react.useState)(null);
83
84
  const stateRef = (0, import_react.useRef)(state);
@@ -110,11 +111,11 @@ var AddSerivce = (props) => {
110
111
  const menuList = (0, import_react.useMemo)(() => {
111
112
  var _a2, _b2, _c2;
112
113
  return ((_c2 = (_b2 = (_a2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a2.config) == null ? void 0 : _b2.menu_list_tab) == null ? void 0 : _c2.menu_list) || [];
113
- }, [(_l = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _l.config]);
114
+ }, [(_j = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _j.config]);
114
115
  const customerId = (0, import_react.useMemo)(() => {
115
116
  var _a2, _b2;
116
117
  return ((_b2 = (_a2 = state.client) == null ? void 0 : _a2.value) == null ? void 0 : _b2.id) || void 0;
117
- }, [(_n = (_m = state.client) == null ? void 0 : _m.value) == null ? void 0 : _n.id]);
118
+ }, [(_l = (_k = state.client) == null ? void 0 : _k.value) == null ? void 0 : _l.id]);
118
119
  const scanAddService = (0, import_ahooks.useMemoizedFn)((list, code) => {
119
120
  let newService = [...state.service.value];
120
121
  list.forEach((item) => {
@@ -38,11 +38,11 @@ var import_utils = require("@pisell/utils");
38
38
  var import_icons = require("@ant-design/icons");
39
39
  var import_bookingDashboard = __toESM(require("./bookingDashboard"));
40
40
  var import_bookingList = __toESM(require("./bookingList"));
41
- var import_useToast = __toESM(require("../../../../hooks/useToast"));
41
+ var import_materials2 = require("@pisell/materials");
42
42
  var import_index = require("./index.less");
43
43
  var BookingDataPanel = (0, import_react.forwardRef)((props, ref) => {
44
44
  const { currentDate, onBookingClick, bookingId } = props;
45
- const Toast = (0, import_useToast.default)();
45
+ const Toast = (0, import_materials2.useToast)();
46
46
  const bookingListRef = (0, import_react.useRef)(null);
47
47
  const bookingDashboardRef = (0, import_react.useRef)(null);
48
48
  const bookingTimeStartBetween = (0, import_react.useMemo)(() => {
@@ -249,13 +249,13 @@ var TicketBooking = () => {
249
249
  interaction,
250
250
  store,
251
251
  storage,
252
- Toast,
253
252
  getSymbolic,
254
253
  translation,
255
254
  pisellosAllModule,
256
255
  getData
257
256
  } = (_a = engineContext.appHelper) == null ? void 0 : _a.utils;
258
257
  const { ScheduleModule } = pisellosAllModule;
258
+ const Toast = (0, import_materials.useToast)();
259
259
  const _persistentRef = (0, import_react.useRef)(false);
260
260
  const _initStateRef = (0, import_react.useRef)({});
261
261
  const _listTimerRef = (0, import_react.useRef)();
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Dayjs } from 'dayjs';
3
2
  import './index.less';
4
3
  interface ITimeBarProps {
@@ -1,8 +1,6 @@
1
- var __create = Object.create;
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
5
  var __export = (target, all) => {
8
6
  for (var name in all)
@@ -16,14 +14,6 @@ var __copyProps = (to, from, except, desc) => {
16
14
  }
17
15
  return to;
18
16
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
18
 
29
19
  // src/components/ticketBooking/hooks/pisellos/useScanCustomer.ts
@@ -36,11 +26,11 @@ var import_react = require("react");
36
26
  var import_utils = require("@pisell/utils");
37
27
  var import_bookingTicket = require("./bookingTicket");
38
28
  var import_utils2 = require("../../utils");
39
- var import_useToast = __toESM(require("../../../../hooks/useToast"));
29
+ var import_materials = require("@pisell/materials");
40
30
  var useScanCustomer = () => {
41
31
  const bookingTicket = (0, import_bookingTicket.useBookingTicket)();
42
32
  const scanRef = (0, import_react.useRef)(null);
43
- const Toast = (0, import_useToast.default)();
33
+ const Toast = (0, import_materials.useToast)();
44
34
  const handleScanCustomer = (callback) => {
45
35
  console.log("handleScanCustomer>>>>>>>", callback);
46
36
  scanRef.current = bookingTicket == null ? void 0 : bookingTicket.scanCustomerListener((data) => {
@@ -1,8 +1,6 @@
1
- var __create = Object.create;
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
5
  var __export = (target, all) => {
8
6
  for (var name in all)
@@ -16,14 +14,6 @@ var __copyProps = (to, from, except, desc) => {
16
14
  }
17
15
  return to;
18
16
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
18
 
29
19
  // src/components/ticketBooking/hooks/pisellos/useScanGlobal.ts
@@ -35,12 +25,12 @@ module.exports = __toCommonJS(useScanGlobal_exports);
35
25
  var import_react = require("react");
36
26
  var import_bookingTicket = require("./bookingTicket");
37
27
  var import_utils = require("../../utils");
38
- var import_useToast = __toESM(require("../../../../hooks/useToast"));
28
+ var import_materials = require("@pisell/materials");
39
29
  var import_utils2 = require("@pisell/utils");
40
30
  var useScanGlobal = () => {
41
31
  const bookingTicket = (0, import_bookingTicket.useBookingTicket)();
42
32
  const scanRef = (0, import_react.useRef)(null);
43
- const Toast = (0, import_useToast.default)();
33
+ const Toast = (0, import_materials.useToast)();
44
34
  const handleScanGlobal = (callback) => {
45
35
  scanRef.current = bookingTicket == null ? void 0 : bookingTicket.scanGlobalListener(
46
36
  (data) => {
@@ -1,8 +1,6 @@
1
- var __create = Object.create;
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
5
  var __export = (target, all) => {
8
6
  for (var name in all)
@@ -16,14 +14,6 @@ var __copyProps = (to, from, except, desc) => {
16
14
  }
17
15
  return to;
18
16
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
18
 
29
19
  // src/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.ts
@@ -35,9 +25,9 @@ module.exports = __toCommonJS(useScanGlobalHandle_exports);
35
25
  var import_utils = require("@pisell/utils");
36
26
  var import_utils2 = require("../../../booking/info2/cartClientCard/utils");
37
27
  var import_utils3 = require("../../components/addServiceVariant/utils");
38
- var import_useToast = __toESM(require("../../../../hooks/useToast"));
28
+ var import_materials = require("@pisell/materials");
39
29
  var useScanGlobalHandle = () => {
40
- const Toast = (0, import_useToast.default)();
30
+ const Toast = (0, import_materials.useToast)();
41
31
  const walletHandle = (data) => {
42
32
  const handleSetClient = (0, import_utils2.getHandleSetClient)();
43
33
  if (!data.data) {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from '../serve';
3
2
  /**
4
3
  * 钱包卡片Hook的参数
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
3
2
  import './index.less';
4
3
  interface ModalProps extends AntModalProps {
@@ -94,7 +94,7 @@ var renderAvatar = (processedData, avatarConfig = {}, isShowAvatar = true, isSho
94
94
  {
95
95
  className: `${PREFIX}__avatar`,
96
96
  ...avatarConfig,
97
- icon: /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: icon })
97
+ icon: /* @__PURE__ */ import_react.default.createElement(Iconfont, { type: icon })
98
98
  }
99
99
  ), statusIndicator);
100
100
  }
@@ -177,7 +177,7 @@ var renderExtraFields = (extraFields = [], gap) => {
177
177
  if (!extraFields.length) return null;
178
178
  return /* @__PURE__ */ import_react.default.createElement("div", { className: `${PREFIX}__extra-fields`, style: { gap } }, extraFields.map((field, index) => {
179
179
  return /* @__PURE__ */ import_react.default.createElement("div", { key: index, className: `${PREFIX}__extra-field` }, field.icon && /* @__PURE__ */ import_react.default.createElement(
180
- import_materials.Iconfont,
180
+ Iconfont,
181
181
  {
182
182
  type: field.icon,
183
183
  className: `${PREFIX}__extra-field-icon`,
@@ -287,7 +287,7 @@ var ClientCard = ({
287
287
  /* @__PURE__ */ import_react.default.createElement("div", { className: `${PREFIX}__content` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `${PREFIX}__info` }, isShowAvatar && /* @__PURE__ */ import_react.default.createElement(
288
288
  import_materials.PisellAvatar,
289
289
  {
290
- icon: avatar.icon ? /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: avatar.icon }) : /* @__PURE__ */ import_react.default.createElement(
290
+ icon: avatar.icon ? /* @__PURE__ */ import_react.default.createElement(Iconfont, { type: avatar.icon }) : /* @__PURE__ */ import_react.default.createElement(
291
291
  import_icon.User01,
292
292
  {
293
293
  style: {
@@ -427,8 +427,9 @@ var ClientCard = ({
427
427
  {
428
428
  type: "text",
429
429
  className: `${PREFIX}__menu-button`,
430
+ size: "large",
430
431
  icon: /* @__PURE__ */ import_react.default.createElement(
431
- import_materials.Iconfont,
432
+ import_materials.Icon,
432
433
  {
433
434
  type: "pisell2-dots-vertical",
434
435
  className: `${PREFIX}__menu-button-icon`
@@ -90,20 +90,19 @@
90
90
  flex-shrink: 0;
91
91
  }
92
92
 
93
- // 操作区域
94
93
  &__actions {
95
94
  display: flex;
96
95
  align-items: center;
97
96
  flex-shrink: 0;
98
97
  }
99
98
 
100
- // 菜单按钮样式
101
99
  &__menu-button {
102
100
  border: none;
103
101
  box-shadow: none;
104
102
  padding: 4px;
105
- width: 40px;
106
- height: 40px;
103
+ display: flex;
104
+ align-items: center;
105
+ justify-content: center;
107
106
 
108
107
  &:hover {
109
108
  background-color: rgba(0, 0, 0, 0.04);
@@ -265,25 +264,6 @@
265
264
  overflow: hidden;
266
265
  }
267
266
  }
268
-
269
- // 当标签过多时,使用渐变遮罩效果
270
- // position: relative;
271
-
272
- // &::after {
273
- // content: '';
274
- // position: absolute;
275
- // right: -5px;
276
- // top: 0;
277
- // bottom: 0;
278
- // width: 20px;
279
- // background: linear-gradient(
280
- // to right,
281
- // rgba(255, 255, 255, 0),
282
- // rgba(255, 255, 255, 1)
283
- // );
284
- // pointer-events: none;
285
- // z-index: 1;
286
- // }
287
267
  }
288
268
 
289
269
  &--separate {
@@ -320,15 +300,6 @@
320
300
  transition: all 0.2s ease;
321
301
  }
322
302
 
323
- &__action-btn {
324
- display: flex;
325
- padding: 0;
326
- justify-content: center;
327
- align-items: center;
328
- width: 40px;
329
- height: 40px;
330
- }
331
-
332
303
  // 操作菜单样式
333
304
  &__menu-button {
334
305
  &.ant-btn {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { IClientNameProps } from './type';
4
3
  declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
3
2
  export default DateSectionCom;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const GenderField: (props: any) => JSX.Element;
3
2
  export default GenderField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SCOProps } from '../types';
3
2
  import '../index.less';
4
3
  export declare const Header: (props: SCOProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormInstance } from 'antd';
3
2
  import { SRProps } from '../types';
4
3
  import '../index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormInstance } from 'antd';
3
2
  import { SRProps } from '../types';
4
3
  import '../index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRProps } from '../types';
3
2
  import '../index.less';
4
3
  declare const GoLogin: (props: SRProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRProps } from '../types';
3
2
  import '../index.less';
4
3
  export declare const Header: (props: SRProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRStepStatus } from '../types';
3
2
  import '../index.less';
4
3
  declare const VerifyError: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VerifyingEmailLink: (props: {
4
3
  onVerifyLink: () => Promise<void>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VertifyEmail: (props: {
4
3
  email: string;
@@ -104,22 +104,16 @@ var SearchSection = (props) => {
104
104
  return icon.map((item, idx) => {
105
105
  let divider = null;
106
106
  if (idx > 0) {
107
- divider = /* @__PURE__ */ import_react.default.createElement("span", { className: "comprehensive-search__search-camera-divider" });
107
+ divider = /* @__PURE__ */ import_react.default.createElement("span", { className: "comprehensive-search__camera-activator-icons-divider" });
108
108
  }
109
- return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, divider, /* @__PURE__ */ import_react.default.createElement(
110
- import_materials.Iconfont,
111
- {
112
- type: item,
113
- className: "comprehensive-search__search-camera"
114
- }
115
- ));
109
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, divider, /* @__PURE__ */ import_react.default.createElement(import_materials.Icon, { type: item, className: "comprehensive-search__camera-activator-icon" }));
116
110
  });
117
111
  }
118
112
  return /* @__PURE__ */ import_react.default.createElement(
119
- import_materials.Iconfont,
113
+ import_materials.Icon,
120
114
  {
121
115
  type: "pisell2-camera-01",
122
- className: "comprehensive-search__search-camera"
116
+ className: "comprehensive-search__camera-activator-icon"
123
117
  }
124
118
  );
125
119
  };
@@ -133,7 +127,7 @@ var SearchSection = (props) => {
133
127
  "div",
134
128
  {
135
129
  className: (0, import_classnames.default)(
136
- "comprehensive-search__search-camera-wrapper",
130
+ "comprehensive-search__camera-activator",
137
131
  {
138
132
  disabled: !isTerminal
139
133
  }
@@ -147,13 +141,7 @@ var SearchSection = (props) => {
147
141
  value: searchValue,
148
142
  onChange: handleInputChange,
149
143
  placeholder: placeholder || import_utils.locales.getText("pisell2.comprehensive-search.placeholder"),
150
- prefix: /* @__PURE__ */ import_react.default.createElement(
151
- import_materials.Iconfont,
152
- {
153
- style: { fontSize: 24, color: "#5D3F9F" },
154
- type: searchIcon
155
- }
156
- ),
144
+ prefix: /* @__PURE__ */ import_react.default.createElement(import_materials.Icon, { className: "comprehensive-search__prefix-icon", type: searchIcon }),
157
145
  onPressEnter: handleSearch,
158
146
  className: "comprehensive-search__search-input",
159
147
  allowClear: true
@@ -22,7 +22,7 @@
22
22
 
23
23
  .comprehensive-search__search-input {
24
24
  height: 38px;
25
- padding: 0 16px;
25
+ padding: 0 12px;
26
26
  display: flex;
27
27
  align-items: center;
28
28
  border: none;
@@ -35,45 +35,48 @@
35
35
  box-shadow: none;
36
36
  }
37
37
 
38
- .ant-input-prefix {
39
- margin-right: 12px;
40
-
41
- .anticon,
42
- .iconfont {
43
- font-size: 24px;
44
- color: #5d3f9f;
45
- }
38
+ .comprehensive-search__prefix-icon {
39
+ font-size: 20px;
40
+ color: #667085;
46
41
  }
47
42
  }
48
43
 
49
- .comprehensive-search__search-camera-wrapper {
44
+ .comprehensive-search__camera-activator {
50
45
  display: flex;
51
46
  align-items: center;
52
47
  justify-content: center;
53
48
  padding: 8px !important;
54
49
  border-radius: 8px;
55
- border: 1px solid #7f56da;
56
- background: #5d3f9f;
50
+ border: 1px solid #e9d7fe;
51
+ background: #f9f5ff;
57
52
  width: 38px;
58
53
  height: 38px;
59
54
  cursor: pointer;
60
55
  gap: 8px;
61
56
 
62
- .comprehensive-search__search-camera-divider {
57
+ .comprehensive-search__camera-activator-icons-divider {
63
58
  display: inline-block;
64
59
  height: 20px;
65
- width: 1px;
66
- background-color: white;
60
+ width: 2px;
61
+ background-color: #b692f6;
62
+ }
63
+
64
+ .comprehensive-search__camera-activator-icon {
65
+ font-size: 24px;
66
+ color: #6941c6;
67
67
  }
68
68
 
69
69
  &.disabled {
70
70
  border: none;
71
71
  background-color: #d1d5dd;
72
- }
73
72
 
74
- .comprehensive-search__search-camera {
75
- font-size: 20px;
76
- color: #fff;
73
+ .comprehensive-search__camera-activator-icon {
74
+ color: white;
75
+ }
76
+
77
+ .comprehensive-search__camera-activator-icons-divider {
78
+ background-color: white;
79
+ }
77
80
  }
78
81
  }
79
82
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PopoverProps } from 'antd';
3
2
  import './index.less';
4
3
  interface PisellPhoneKeyboardProps {
@@ -18,6 +18,6 @@ declare let modal: Omit<ModalStaticFunctions, 'warn'>;
18
18
  export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
19
19
  export declare const saveConfirm: () => Promise<{
20
20
  destroy: () => void;
21
- update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
21
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
22
22
  }>;
23
23
  export { modal };