@pisell/private-materials 6.2.31 → 6.2.33

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 (307) 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 +11 -11
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +7 -7
  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/Content/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  16. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  18. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  19. package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
  20. package/es/components/appointmentBooking/index.d.ts +0 -1
  21. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  22. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  23. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  24. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  25. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  26. package/es/components/booking/components/footer/index.js +15 -5
  27. package/es/components/booking/components/footer/index.less +23 -0
  28. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  29. package/es/components/booking/components/tabPane/index.less +3 -3
  30. package/es/components/booking/forms/footer.d.ts +0 -1
  31. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  32. package/es/components/booking/forms/single/index.d.ts +0 -1
  33. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  34. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  35. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  36. package/es/components/booking/info/date/index.d.ts +0 -1
  37. package/es/components/booking/info/header/index.d.ts +0 -1
  38. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  39. package/es/components/booking/info/index.d.ts +1 -0
  40. package/es/components/booking/info/notes/index.d.ts +0 -1
  41. package/es/components/booking/info/service/Lists.js +1 -1
  42. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  43. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  44. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  45. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  46. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  47. package/es/components/booking/info/service2/utils.d.ts +1 -1
  48. package/es/components/booking/info/service2/utils.js +18 -17
  49. package/es/components/booking/info2/cartClientCard/index.js +60 -67
  50. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  51. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  52. package/es/components/booking/info2/service/editService/index.js +71 -11
  53. package/es/components/booking/info2/service/editService/index.less +47 -11
  54. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  55. package/es/components/booking/locales.js +4 -4
  56. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  57. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  58. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  59. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  60. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  61. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  62. package/es/components/eftpos/index.d.ts +0 -1
  63. package/es/components/eftpos/pos.d.ts +0 -1
  64. package/es/components/eftposPay/amount.d.ts +1 -2
  65. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  66. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  67. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  68. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  69. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  70. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  71. package/es/components/eftposPay/device.d.ts +1 -2
  72. package/es/components/eftposPay/hooks.d.ts +2 -2
  73. package/es/components/eftposPay/index.d.ts +0 -1
  74. package/es/components/eftposPay/linkly/index.d.ts +0 -1
  75. package/es/components/eftposPay/pay.d.ts +0 -1
  76. package/es/components/eftposPay/payo/config.d.ts +0 -1
  77. package/es/components/eftposPay/store/index.d.ts +5 -5
  78. package/es/components/eftposPay/tip.d.ts +0 -1
  79. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  80. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  81. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  82. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  83. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  84. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  85. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  86. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  87. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  88. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  89. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  90. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  91. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  92. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  93. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  94. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  95. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  96. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  97. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  98. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  99. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  100. package/es/components/eventBooking/index.d.ts +0 -1
  101. package/es/components/login/index.d.ts +0 -1
  102. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  103. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  104. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  105. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  106. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  107. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  108. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  109. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  110. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  111. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  112. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  113. package/es/components/productExtension/index.d.ts +0 -1
  114. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  115. package/es/components/productSelect/components/productGroup/index.js +2 -2
  116. package/es/components/ruleSetting/index.d.ts +0 -1
  117. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  118. package/es/components/schedules/calendar/index.d.ts +0 -1
  119. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  120. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  121. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  122. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  123. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  124. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  125. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  126. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  127. package/es/components/schedules/products/list/index.d.ts +0 -1
  128. package/es/components/schedules/resources/index.d.ts +0 -1
  129. package/es/components/schedules/resources/list/index.d.ts +0 -1
  130. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  131. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  132. package/es/components/schedules/schedules/index.d.ts +0 -1
  133. package/es/components/shoppingCart/components/Cart/Product.js +4 -3
  134. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  135. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  136. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  137. package/es/components/shoppingCart/index.d.ts +0 -1
  138. package/es/components/taxSelect/index.d.ts +0 -1
  139. package/es/components/ticketBooking/components/timeBar/index.js +4 -1
  140. package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +23 -18
  141. package/es/components/ticketBooking/locales.js +3 -0
  142. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  143. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  144. package/es/plus/clientCard/locales.js +2 -2
  145. package/es/plus/clientName/index.d.ts +0 -1
  146. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  147. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  148. package/es/plus/clinetSearch/index.d.ts +0 -1
  149. package/es/plus/clinetSearch/index.js +6 -6
  150. package/es/plus/clinetSearch/index.less +4 -0
  151. package/es/plus/noteModal/AddTempModal.d.ts +0 -1
  152. package/es/pro/comprehensiveSearch/index.d.ts +1 -3
  153. package/es/pro/comprehensiveSearch/index.js +18 -49
  154. package/es/pro/comprehensiveSearch/index.less +1 -6
  155. package/es/pro/comprehensiveSearch/types.d.ts +2 -1
  156. package/es/pro/skuDetailModal/index.js +21 -7
  157. package/es/pro/skuDetailModal/index.less +40 -0
  158. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  159. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  160. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  161. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
  162. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  163. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  164. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  165. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  166. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
  167. package/lib/components/appointmentBooking/index.d.ts +0 -1
  168. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  169. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  170. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  171. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  172. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  173. package/lib/components/booking/components/footer/index.js +16 -9
  174. package/lib/components/booking/components/footer/index.less +23 -0
  175. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  176. package/lib/components/booking/components/tabPane/index.less +3 -3
  177. package/lib/components/booking/forms/footer.d.ts +0 -1
  178. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  179. package/lib/components/booking/forms/single/index.d.ts +0 -1
  180. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  181. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  182. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  183. package/lib/components/booking/info/date/index.d.ts +0 -1
  184. package/lib/components/booking/info/header/index.d.ts +0 -1
  185. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  186. package/lib/components/booking/info/index.d.ts +1 -0
  187. package/lib/components/booking/info/notes/index.d.ts +0 -1
  188. package/lib/components/booking/info/service/Lists.js +1 -1
  189. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  190. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  191. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  192. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  193. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  194. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  195. package/lib/components/booking/info/service2/utils.js +12 -11
  196. package/lib/components/booking/info2/cartClientCard/index.js +23 -31
  197. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  198. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  199. package/lib/components/booking/info2/service/editService/index.js +71 -18
  200. package/lib/components/booking/info2/service/editService/index.less +47 -11
  201. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  202. package/lib/components/booking/locales.js +4 -4
  203. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  204. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  205. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  206. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  207. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  208. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  209. package/lib/components/eftpos/index.d.ts +0 -1
  210. package/lib/components/eftpos/pos.d.ts +0 -1
  211. package/lib/components/eftposPay/amount.d.ts +1 -2
  212. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  213. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  214. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  215. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  216. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  217. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  218. package/lib/components/eftposPay/device.d.ts +1 -2
  219. package/lib/components/eftposPay/hooks.d.ts +2 -2
  220. package/lib/components/eftposPay/index.d.ts +0 -1
  221. package/lib/components/eftposPay/linkly/index.d.ts +0 -1
  222. package/lib/components/eftposPay/pay.d.ts +0 -1
  223. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  224. package/lib/components/eftposPay/store/index.d.ts +5 -5
  225. package/lib/components/eftposPay/tip.d.ts +0 -1
  226. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  227. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  228. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  229. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  230. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  231. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  232. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  233. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  234. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  235. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  236. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  237. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  238. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  239. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  240. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  241. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  242. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  243. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  244. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  245. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  246. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  247. package/lib/components/eventBooking/index.d.ts +0 -1
  248. package/lib/components/login/index.d.ts +0 -1
  249. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  250. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  251. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  252. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  253. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  254. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  255. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  256. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  257. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  258. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  259. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  260. package/lib/components/productExtension/index.d.ts +0 -1
  261. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  262. package/lib/components/productSelect/components/productGroup/index.js +1 -1
  263. package/lib/components/ruleSetting/index.d.ts +0 -1
  264. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  265. package/lib/components/schedules/calendar/index.d.ts +0 -1
  266. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  267. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  268. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  269. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  270. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  271. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  272. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  273. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  274. package/lib/components/schedules/products/list/index.d.ts +0 -1
  275. package/lib/components/schedules/resources/index.d.ts +0 -1
  276. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  277. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  278. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  279. package/lib/components/schedules/schedules/index.d.ts +0 -1
  280. package/lib/components/shoppingCart/components/Cart/Product.js +4 -3
  281. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  282. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  283. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  284. package/lib/components/shoppingCart/index.d.ts +0 -1
  285. package/lib/components/taxSelect/index.d.ts +0 -1
  286. package/lib/components/ticketBooking/components/timeBar/index.js +1 -1
  287. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +23 -12
  288. package/lib/components/ticketBooking/locales.js +12 -3
  289. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  290. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  291. package/lib/plus/clientCard/locales.js +2 -2
  292. package/lib/plus/clientName/index.d.ts +0 -1
  293. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  294. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  295. package/lib/plus/clinetSearch/index.d.ts +0 -1
  296. package/lib/plus/clinetSearch/index.js +6 -7
  297. package/lib/plus/clinetSearch/index.less +4 -0
  298. package/lib/plus/noteModal/AddTempModal.d.ts +0 -1
  299. package/lib/pro/comprehensiveSearch/index.d.ts +1 -3
  300. package/lib/pro/comprehensiveSearch/index.js +12 -23
  301. package/lib/pro/comprehensiveSearch/index.less +1 -6
  302. package/lib/pro/comprehensiveSearch/types.d.ts +2 -1
  303. package/lib/pro/skuDetailModal/index.js +22 -6
  304. package/lib/pro/skuDetailModal/index.less +40 -0
  305. package/package.json +4 -4
  306. package/es/pro/comprehensiveSearch/camera.svg +0 -4
  307. package/lib/pro/comprehensiveSearch/camera.svg +0 -4
@@ -1,4 +1,4 @@
1
- var _excluded = ["dataSource", "isShowScanner", "isShowCamera", "isShowNFC", "isShowNewButton", "newButtonAlign", "newButtonText", "renderType", "containerProps", "isShowSearch", "isShowSearchCamera", "searchIcon", "placeholder", "isShowSearchButton", "resultDisplay", "resultSort", "style", "loading", "onSearchTextChange", "onSearch", "onAdd", "onRowClick"];
1
+ var _excluded = ["dataSource", "isShowScanner", "isShowCamera", "isShowNFC", "isShowNewButton", "newButtonAlign", "newButtonText", "renderType", "containerProps", "isShowSearch", "isShowSearchCamera", "searchIcon", "placeholder", "isShowSearchButton", "resultDisplay", "resultSort", "style", "loading", "keyword", "onKeywordChange", "onSearch", "onAdd", "onRowClick"];
2
2
  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; }
3
3
  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; }
4
4
  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; }
@@ -17,15 +17,15 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
17
17
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
18
18
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
19
19
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
20
- import React, { forwardRef, useImperativeHandle, useState } from 'react';
20
+ import React, { forwardRef, useImperativeHandle } from 'react';
21
21
  import { Button, Input, Empty, Spin } from 'antd';
22
22
  import { PisellContainer, Iconfont } from '@pisell/materials';
23
23
  import { PlusCircle } from '@pisell/icon';
24
24
  import { locales } from '@pisell/utils';
25
+ import { useControllableValue } from 'ahooks';
25
26
  import useEngineContext from "../../hooks/useEngineContext";
26
27
  import useTerminalPeripherals from "./hooks/useTerminalPeripherals";
27
28
  import useNativeScanner from "./hooks/useNativeScanner";
28
- import Camera from "./camera.svg";
29
29
  import localeTexts from "./locales";
30
30
  import "./index.less";
31
31
  import classNames from 'classnames';
@@ -62,15 +62,20 @@ var ComprehensiveSearch = /*#__PURE__*/forwardRef(function (_ref, ref) {
62
62
  resultSort = _ref$resultSort === void 0 ? 'asc' : _ref$resultSort,
63
63
  style = _ref.style,
64
64
  loading = _ref.loading,
65
- onSearchTextChange = _ref.onSearchTextChange,
65
+ keyword = _ref.keyword,
66
+ onKeywordChange = _ref.onKeywordChange,
66
67
  onSearch = _ref.onSearch,
67
68
  onAdd = _ref.onAdd,
68
69
  onRowClick = _ref.onRowClick,
69
70
  props = _objectWithoutProperties(_ref, _excluded);
70
- var _useState = useState(''),
71
- _useState2 = _slicedToArray(_useState, 2),
72
- searchValue = _useState2[0],
73
- setSearchValue = _useState2[1];
71
+ var _useControllableValue = useControllableValue({
72
+ value: keyword,
73
+ onChange: onKeywordChange,
74
+ defaultValue: ''
75
+ }),
76
+ _useControllableValue2 = _slicedToArray(_useControllableValue, 2),
77
+ searchValue = _useControllableValue2[0],
78
+ setSearchValue = _useControllableValue2[1];
74
79
  var _useTerminalPeriphera = useTerminalPeripherals(),
75
80
  peripheralsStatus = _useTerminalPeriphera.peripheralsStatus;
76
81
  var _useNativeScanner = useNativeScanner(),
@@ -78,38 +83,6 @@ var ComprehensiveSearch = /*#__PURE__*/forwardRef(function (_ref, ref) {
78
83
  isTerminal = _useNativeScanner.isTerminal;
79
84
  var context = useEngineContext();
80
85
  locales.init(localeTexts, ((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.storage) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.get('umi_locale')) || 'en');
81
- function checkCameraAvailability() {
82
- return _checkCameraAvailability.apply(this, arguments);
83
- }
84
- function _checkCameraAvailability() {
85
- _checkCameraAvailability = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
86
- var devices, hasCamera;
87
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
88
- while (1) switch (_context2.prev = _context2.next) {
89
- case 0:
90
- _context2.prev = 0;
91
- _context2.next = 3;
92
- return navigator.mediaDevices.enumerateDevices();
93
- case 3:
94
- devices = _context2.sent;
95
- hasCamera = devices.some(function (device) {
96
- return device.kind === 'videoinput';
97
- });
98
- return _context2.abrupt("return", hasCamera);
99
- case 8:
100
- _context2.prev = 8;
101
- _context2.t0 = _context2["catch"](0);
102
- console.error('Error checking camera availability:', _context2.t0);
103
- case 11:
104
- return _context2.abrupt("return", false);
105
- case 12:
106
- case "end":
107
- return _context2.stop();
108
- }
109
- }, _callee2, null, [[0, 8]]);
110
- }));
111
- return _checkCameraAvailability.apply(this, arguments);
112
- }
113
86
  var handleSearch = /*#__PURE__*/function () {
114
87
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
115
88
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -137,7 +110,6 @@ var ComprehensiveSearch = /*#__PURE__*/forwardRef(function (_ref, ref) {
137
110
  var handleInputChange = function handleInputChange(e) {
138
111
  var value = e.target.value;
139
112
  setSearchValue(value);
140
- onSearchTextChange === null || onSearchTextChange === void 0 || onSearchTextChange(value);
141
113
  };
142
114
  var handleAdd = function handleAdd() {
143
115
  onAdd === null || onAdd === void 0 || onAdd();
@@ -185,11 +157,7 @@ var ComprehensiveSearch = /*#__PURE__*/forwardRef(function (_ref, ref) {
185
157
  }, locales.getText('pisell2.text.search')))));
186
158
  };
187
159
  useImperativeHandle(ref, function () {
188
- return {
189
- setSearchKeyword: function setSearchKeyword(keyword) {
190
- setSearchValue(keyword);
191
- }
192
- };
160
+ return {};
193
161
  });
194
162
  var renderResults = function renderResults() {
195
163
  if ( /*#__PURE__*/React.isValidElement(resultDisplay)) {
@@ -271,7 +239,8 @@ var ComprehensiveSearch = /*#__PURE__*/forwardRef(function (_ref, ref) {
271
239
  var getTopRowLayout = function getTopRowLayout() {
272
240
  var newButton = /*#__PURE__*/React.createElement(Button, {
273
241
  className: "comprehensive-search__new-button",
274
- onClick: handleAdd
242
+ onClick: handleAdd,
243
+ type: "primary"
275
244
  }, newButtonText || locales.getText('pisell2.text.new-client'), /*#__PURE__*/React.createElement(PlusCircle, {
276
245
  style: {
277
246
  fontSize: 20
@@ -293,8 +262,8 @@ var ComprehensiveSearch = /*#__PURE__*/forwardRef(function (_ref, ref) {
293
262
  className: "status-indicator"
294
263
  }, stautsIndicator((peripheralsStatus === null || peripheralsStatus === void 0 ? void 0 : peripheralsStatus.nfc) === 'connected'))), isShowCamera && /*#__PURE__*/React.createElement("span", {
295
264
  className: "comprehensive-search__icon-button"
296
- }, /*#__PURE__*/React.createElement("img", {
297
- src: Camera
265
+ }, /*#__PURE__*/React.createElement(Iconfont, {
266
+ type: "pisell2-camera"
298
267
  }), /*#__PURE__*/React.createElement("div", {
299
268
  className: "status-indicator"
300
269
  }, stautsIndicator(isTerminal))));
@@ -37,12 +37,7 @@
37
37
  line-height: 20px;
38
38
  word-wrap: break-word;
39
39
  height: 40px;
40
- color: #6941c6;
41
- border-color: #e9d7fe;
42
-
43
- &:hover {
44
- background-color: #f9f5ff;
45
- }
40
+ color: #fff;
46
41
  }
47
42
 
48
43
  &__icon-group {
@@ -20,7 +20,8 @@ export interface ComprehensiveSearchProps {
20
20
  sortBy?: string;
21
21
  style?: React.CSSProperties;
22
22
  loading?: boolean;
23
- onSearchTextChange?: (value: string) => void;
23
+ keyword?: string;
24
+ onKeywordChange?: (value: string) => void;
24
25
  onSearch?: (value: string) => void;
25
26
  onAdd?: () => void;
26
27
  onDataChange?: (data: any) => void;
@@ -224,6 +224,14 @@ var SkuDetailModal = function SkuDetailModal(_ref, ref) {
224
224
  setDiscounts([]);
225
225
  setShowPriceAdjustModal(false);
226
226
  };
227
+
228
+ // 无图时使用商品名称前两个字作为封面文字
229
+ var coverText = useMemo(function () {
230
+ var _productData$title;
231
+ var title = (productData === null || productData === void 0 || (_productData$title = productData.title) === null || _productData$title === void 0 ? void 0 : _productData$title.trim()) || '';
232
+ if (!title) return '';
233
+ return Array.from(title).slice(0, 2).join('');
234
+ }, [productData === null || productData === void 0 ? void 0 : productData.title]);
227
235
  if (!productData) return null;
228
236
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(PisellModal, {
229
237
  platform: "pc",
@@ -241,11 +249,13 @@ var SkuDetailModal = function SkuDetailModal(_ref, ref) {
241
249
  className: "sku-detail-content-main"
242
250
  }, /*#__PURE__*/React.createElement("div", {
243
251
  className: "sku-detail-left"
244
- }, productData.cover ? /*#__PURE__*/React.createElement("div", {
252
+ }, /*#__PURE__*/React.createElement("div", {
245
253
  className: "product-image"
246
- }, /*#__PURE__*/React.createElement("img", {
254
+ }, productData.cover ? /*#__PURE__*/React.createElement("img", {
247
255
  src: productData.cover || ''
248
- })) : null, /*#__PURE__*/React.createElement("div", {
256
+ }) : /*#__PURE__*/React.createElement("div", {
257
+ className: "product-cover-text"
258
+ }, coverText)), /*#__PURE__*/React.createElement("div", {
249
259
  className: "product-actions"
250
260
  }, /*#__PURE__*/React.createElement(Button, {
251
261
  size: "large",
@@ -314,18 +324,22 @@ var SkuDetailModal = function SkuDetailModal(_ref, ref) {
314
324
  fontSize: 20
315
325
  }
316
326
  }),
317
- className: "remove-btn",
327
+ className: "sku-detail-content-footer-remove-btn",
318
328
  onClick: handleRemove
319
329
  }, locales.getText('pisell2.text.sku.detail.modal.btn.remove')), /*#__PURE__*/React.createElement("div", {
320
330
  className: "modal-actions"
321
331
  }, /*#__PURE__*/React.createElement(Button, {
322
332
  type: "default",
323
333
  size: "large",
324
- onClick: handleManualPriceChange
325
- }, locales.getText('pisell2.text.sku.detail.modal.btn.manual.price.change')), /*#__PURE__*/React.createElement(Button, {
334
+ onClick: handleManualPriceChange,
335
+ className: "sku-detail-content-footer-price-btn"
336
+ }, /*#__PURE__*/React.createElement("span", {
337
+ className: "sku-detail-content-footer-price-btn-text"
338
+ }, locales.getText('pisell2.text.sku.detail.modal.btn.manual.price.change'))), /*#__PURE__*/React.createElement(Button, {
326
339
  type: "primary",
327
340
  size: "large",
328
- onClick: handleConfirm
341
+ onClick: handleConfirm,
342
+ className: "sku-detail-content-footer-confirm-btn"
329
343
  }, locales.getText('pisell2.text.sku.detail.modal.btn.confirm'))))), noteModalOpen && /*#__PURE__*/React.createElement(NoteModal, {
330
344
  open: noteModalOpen,
331
345
  value: note,
@@ -34,6 +34,20 @@
34
34
  object-fit: cover;
35
35
  background: lightgray 50% / cover no-repeat;
36
36
  }
37
+
38
+ .product-cover-text {
39
+ width: 100%;
40
+ height: 100%;
41
+ background-color: #dedede;
42
+ color: #747474;
43
+ display: flex;
44
+ align-items: center;
45
+ justify-content: center;
46
+ font-size: 40px;
47
+ font-weight: 600;
48
+ line-height: 1;
49
+ user-select: none;
50
+ }
37
51
  }
38
52
 
39
53
  .product-actions {
@@ -44,6 +58,7 @@
44
58
 
45
59
  .add-note-btn {
46
60
  width: 100%;
61
+ height: 48px;
47
62
  }
48
63
  }
49
64
 
@@ -199,10 +214,35 @@
199
214
  align-items: center;
200
215
  justify-content: space-between;
201
216
 
217
+ .sku-detail-content-footer-remove-btn {
218
+ width: 120px;
219
+ height: 48px;
220
+ }
221
+
202
222
  .modal-actions {
203
223
  display: flex;
204
224
  gap: 8px;
205
225
  justify-content: flex-end;
226
+
227
+ .sku-detail-content-footer-price-btn {
228
+ width: 140px;
229
+ height: 48px;
230
+
231
+ .sku-detail-content-footer-price-btn-text {
232
+ width: 100%;
233
+ text-align: center;
234
+ // 支持换行显示
235
+ white-space: wrap;
236
+ font-size: 16px;
237
+ font-weight: 400;
238
+ line-height: 20px;
239
+ }
240
+ }
241
+
242
+ .sku-detail-content-footer-confirm-btn {
243
+ width: 200px;
244
+ height: 48px;
245
+ }
206
246
  }
207
247
  }
208
248
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
4
3
  export default Total;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const CartItem: ({ onNext }: any) => JSX.Element;
4
3
  export default CartItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel, onNext }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export declare const DepositContent: (props: {
4
3
  isAgreeDepositPolicy: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../../../booking/components/voucher/index.less';
3
2
  import './index.less';
4
3
  declare const VoucherCard: (props: any) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DepositModal: (props: any) => JSX.Element;
4
3
  export default DepositModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Deposit: (props: any) => JSX.Element;
4
3
  export default Deposit;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const AppointmentBooking: () => JSX.Element;
4
3
  export default AppointmentBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
4
3
  export default SelectProductItem;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 空状态
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
4
3
  export default FooterMenus;
@@ -54,8 +54,9 @@ var import_useIsBooking4Shop = require("../../hooks/useIsBooking4Shop");
54
54
  var import_utils4 = require("@pisell/utils");
55
55
  var import_dayjs = __toESM(require("dayjs"));
56
56
  var import_useScanManager = __toESM(require("../../../ticketBooking/hooks/pisellos/useScanManager"));
57
+ var import_materials = require("@pisell/materials");
57
58
  var Footer = (props) => {
58
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
59
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
59
60
  const { state, buttons, dispatch, source } = props;
60
61
  const [showDetail, setShowDetail] = (0, import_react.useState)(false);
61
62
  const [loading, setLoading] = (0, import_react.useState)(false);
@@ -615,6 +616,11 @@ var Footer = (props) => {
615
616
  )
616
617
  );
617
618
  }, []);
619
+ const hasOrderNote = (0, import_react.useMemo)(() => {
620
+ var _a2;
621
+ const note = ((_a2 = state == null ? void 0 : state.notes) == null ? void 0 : _a2.orderNote) || "";
622
+ return note.trim().length > 0;
623
+ }, [(_h = state == null ? void 0 : state.notes) == null ? void 0 : _h.orderNote]);
618
624
  const noteButton = (0, import_react.useMemo)(() => {
619
625
  return /* @__PURE__ */ import_react.default.createElement(
620
626
  import_antd.ConfigProvider,
@@ -628,14 +634,15 @@ var Footer = (props) => {
628
634
  /* @__PURE__ */ import_react.default.createElement(
629
635
  import_antd.Button,
630
636
  {
631
- className: "pisell-lowcode__booking-footer-buttons-item",
637
+ className: "pisell-lowcode__booking-footer-buttons-item note-button",
632
638
  type: "primary",
633
639
  onClick: handleNote
634
640
  },
635
- import_utils.locales.getText("pisell2.ticket-booking.note")
641
+ import_utils.locales.getText("pisell2.ticket-booking.note"),
642
+ hasOrderNote && /* @__PURE__ */ import_react.default.createElement("span", { className: "note-indicator" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-info-circle2" }))
636
643
  )
637
644
  );
638
- }, []);
645
+ }, [hasOrderNote]);
639
646
  let buttonMap = {
640
647
  checkout: checkoutButton,
641
648
  save: saveButton,
@@ -779,7 +786,7 @@ var Footer = (props) => {
779
786
  isShowPaymentLink,
780
787
  source,
781
788
  _buttons.length,
782
- (_h = state == null ? void 0 : state.bookingDetail) == null ? void 0 : _h.payment_status
789
+ (_i = state == null ? void 0 : state.bookingDetail) == null ? void 0 : _i.payment_status
783
790
  ]);
784
791
  const isOnlyDeposit = (0, import_react.useMemo)(() => {
785
792
  var _a2, _b2, _c2, _d2;
@@ -871,7 +878,7 @@ var Footer = (props) => {
871
878
  }, [
872
879
  state.bookingId,
873
880
  state.bookingDetail,
874
- (_i = state.addons) == null ? void 0 : _i.load,
881
+ (_j = state.addons) == null ? void 0 : _j.load,
875
882
  state.renderType
876
883
  ]);
877
884
  const menuChange = (e) => {
@@ -962,7 +969,7 @@ var Footer = (props) => {
962
969
  label: import_utils.locales.getText("pisell1.text.rounding")
963
970
  }
964
971
  ];
965
- }, [total, (_j = state.bookingDetail) == null ? void 0 : _j.surcharge, state, state.bookingId]);
972
+ }, [total, (_k = state.bookingDetail) == null ? void 0 : _k.surcharge, state, state.bookingId]);
966
973
  const orderTotalList = (0, import_react.useMemo)(() => {
967
974
  return [
968
975
  // 订单已付金额
@@ -996,7 +1003,7 @@ var Footer = (props) => {
996
1003
  label: import_utils.locales.getText("pisell2.text.refunded-amount")
997
1004
  }
998
1005
  ];
999
- }, [total, (_k = state.bookingDetail) == null ? void 0 : _k.surcharge, state, state.bookingId]);
1006
+ }, [total, (_l = state.bookingDetail) == null ? void 0 : _l.surcharge, state, state.bookingId]);
1000
1007
  return /* @__PURE__ */ import_react.default.createElement(import_antd.Skeleton, { title: false, round: true, loading: showFooter, active: true }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-footer-total" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-footer-left" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-footer-left-total" }, totalText), /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-footer-left-arrears" }, arrearsText)), /* @__PURE__ */ import_react.default.createElement(
1001
1008
  "span",
1002
1009
  {
@@ -1071,7 +1078,7 @@ var Footer = (props) => {
1071
1078
  {
1072
1079
  open: noteModalOpen,
1073
1080
  title: import_utils.locales.getText("pisell2.text.add-order-notes"),
1074
- value: ((_l = state.notes) == null ? void 0 : _l.orderNote) || "",
1081
+ value: ((_m = state.notes) == null ? void 0 : _m.orderNote) || "",
1075
1082
  onConfirm: handleNoteConfirm,
1076
1083
  onDelete: handleNoteDelete,
1077
1084
  onCancel: handleNoteCancel
@@ -122,6 +122,29 @@
122
122
  align-items: center;
123
123
  justify-content: center;
124
124
  flex: 1;
125
+ position: relative;
126
+
127
+ &.note-button {
128
+ .note-indicator {
129
+ position: absolute;
130
+ top: 0; // 不使用负数偏移
131
+ right: 0; // 不使用负数偏移
132
+ transform: translate(12%, -12%); // 向外溢出约 2-3px
133
+ width: 24px;
134
+ height: 24px;
135
+ border-radius: 50%;
136
+ background-color: #7F56DA; // 紫色
137
+ color: #fff;
138
+ font-weight: 700;
139
+ display: flex;
140
+ align-items: center;
141
+ justify-content: center;
142
+ line-height: 1;
143
+ font-size: 30px;
144
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
145
+ pointer-events: none;
146
+ }
147
+ }
125
148
  }
126
149
 
127
150
  .pisell-lowcode__booking-footer-buttons-item-primary {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  modal: any;
@@ -120,9 +120,9 @@
120
120
  }
121
121
 
122
122
  .pisell-lowcode__booking-tab-pane-footer {
123
- position: sticky;
124
- bottom: 0;
125
- left: 0;
123
+ //position: sticky;
124
+ //bottom: 0;
125
+ //left: 0;
126
126
  z-index: 2;
127
127
  display: block;
128
128
  // display: flex;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface FooterProps {
3
2
  state: any;
4
3
  reload: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SendModalValues } from './index';
3
2
  declare const useSendModal: (bookingId?: number) => {
4
3
  open: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 表单选择器
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useClearCart: (state: any, dispatch: any) => false | JSX.Element;
3
2
  export default useClearCart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from '../../../model';
3
2
  interface useClientFnParams {
4
3
  state: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
4
3
  declare const DateCom: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const header: ({ state, dispatch }: any) => JSX.Element;
4
3
  export default header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EditServiceRef } from "../service/editService";
3
2
  declare const useInfoHolder: (state: any, dispatch: any) => {
4
3
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InfoProps } from './main';
2
3
  declare const APP: (props: InfoProps) => JSX.Element;
3
4
  export default APP;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Notes: () => JSX.Element | null;
3
2
  export default Notes;
@@ -81,7 +81,7 @@ var Lists = ({ onEdit, onChange, onAction, isParallelResource }) => {
81
81
  var _a2, _b;
82
82
  return {
83
83
  hideAddBtn: state.isTerminalDayBookingPage || state.isBookingCreatePage,
84
- isShowNote: (0, import_utils.isEventBooking)(state),
84
+ isShowNote: state.isBookingTicket2 ? true : (0, import_utils.isEventBooking)(state),
85
85
  isShowPackageNote: false,
86
86
  accounts: [],
87
87
  isEdit: !!(state == null ? void 0 : state.bookingId),
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: string;
9
+ locale: any;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const AddTimeModal: () => JSX.Element;
4
3
  export default AddTimeModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, resourceItem, errorMessage, handleDeleteService, }: any) => JSX.Element;
4
3
  export default ServiceItem;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
2
3
  export default Lists;
@@ -248,4 +248,4 @@ export declare const updateAppointmentServicePrice: (state: any, { start_date, e
248
248
  * @Author: WangHan
249
249
  * @Date: 2024-12-24 11:32
250
250
  */
251
- export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
251
+ export declare const updateServicePrice: (state: any) => Promise<any> | never[];