@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
@@ -527,6 +527,7 @@ var getGeneralParams = (item, state, isParallelResource) => {
527
527
  isShowChangeHolder: !isNormalProduct,
528
528
  isShowAction: (0, import_utils4.isShowAddTime)(state, item),
529
529
  actionText: import_utils2.locales.getText("page.booking.text.add-time"),
530
+ actionIcon: "pisell2-clock-plus",
530
531
  isMultipleResource: true,
531
532
  multiResources,
532
533
  holderMaxCount: item == null ? void 0 : item._extend.quantity,
@@ -548,7 +549,7 @@ var formatProducts = (lists, state, isRenderGroup = true, isGeneral, isParallelR
548
549
  const normalList = [];
549
550
  const groupList = [];
550
551
  const formItem = (item) => {
551
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
552
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v;
552
553
  const _isDayBookingProduct = isDayBookingProduct(item, state);
553
554
  const clientTitle = getHolderName(state, (_a = item == null ? void 0 : item._extend) == null ? void 0 : _a.holder_id);
554
555
  const options = formatOptions((_c = (_b = item == null ? void 0 : item._extend) == null ? void 0 : _b.other) == null ? void 0 : _c.option);
@@ -573,19 +574,19 @@ var formatProducts = (lists, state, isRenderGroup = true, isGeneral, isParallelR
573
574
  num: item == null ? void 0 : item._extend.quantity,
574
575
  image: item == null ? void 0 : item.cover,
575
576
  isShowNote: true,
576
- note: item == null ? void 0 : item.note,
577
- like_status: (_l = item == null ? void 0 : item._extend) == null ? void 0 : _l.like_status,
577
+ note: (item == null ? void 0 : item.note) || ((_l = item == null ? void 0 : item._extend) == null ? void 0 : _l.note),
578
+ like_status: (_m = item == null ? void 0 : item._extend) == null ? void 0 : _m.like_status,
578
579
  bundle,
579
580
  options,
580
581
  errorMessage,
581
- product_option_string: (_n = (_m = item == null ? void 0 : item._extend) == null ? void 0 : _m.other) == null ? void 0 : _n.product_option_string,
582
- discount_reason: (_o = item == null ? void 0 : item._extend) == null ? void 0 : _o.discount_reason,
583
- resource_id: isNormalProduct ? 0 : (_p = item == null ? void 0 : item._extend) == null ? void 0 : _p.resource,
582
+ product_option_string: (_o = (_n = item == null ? void 0 : item._extend) == null ? void 0 : _n.other) == null ? void 0 : _o.product_option_string,
583
+ discount_reason: (_p = item == null ? void 0 : item._extend) == null ? void 0 : _p.discount_reason,
584
+ resource_id: isNormalProduct ? 0 : (_q = item == null ? void 0 : item._extend) == null ? void 0 : _q.resource,
584
585
  relation_form_name: isNormalProduct ? "" : (resourceItem == null ? void 0 : resourceItem.labelText) || item.relation_form_name,
585
586
  holder_title: clientTitle,
586
- start_date: !isNormalProduct ? (_q = item == null ? void 0 : item._extend) == null ? void 0 : _q.start_date : "",
587
- end_date: !isNormalProduct ? (_r = item == null ? void 0 : item._extend) == null ? void 0 : _r.end_date : "",
588
- holder_id: ((_s = item == null ? void 0 : item._extend) == null ? void 0 : _s.holder_id) || 0,
587
+ start_date: !isNormalProduct ? (_r = item == null ? void 0 : item._extend) == null ? void 0 : _r.start_date : "",
588
+ end_date: !isNormalProduct ? (_s = item == null ? void 0 : item._extend) == null ? void 0 : _s.end_date : "",
589
+ holder_id: ((_t = item == null ? void 0 : item._extend) == null ? void 0 : _t.holder_id) || 0,
589
590
  isNormalProduct,
590
591
  isCustomItem: item == null ? void 0 : item.isCustomItem,
591
592
  // 添加自定义商品标识
@@ -593,8 +594,8 @@ var formatProducts = (lists, state, isRenderGroup = true, isGeneral, isParallelR
593
594
  // 是否适用优惠券/折扣
594
595
  locale: state.locale,
595
596
  symbol: state.amountSymbol,
596
- relation_products: ((_t = item == null ? void 0 : item._extend) == null ? void 0 : _t.relation_details) || [],
597
- items: isEventBooking(state) ? [] : formItems(((_u = item == null ? void 0 : item._extend) == null ? void 0 : _u.items) || []),
597
+ relation_products: ((_u = item == null ? void 0 : item._extend) == null ? void 0 : _u.relation_details) || [],
598
+ items: isEventBooking(state) ? [] : formItems(((_v = item == null ? void 0 : item._extend) == null ? void 0 : _v.items) || []),
598
599
  ...generalParams,
599
600
  _origin: item
600
601
  };
@@ -59,7 +59,9 @@ var CartClientCard = (0, import_react.forwardRef)((props, ref) => {
59
59
  );
60
60
  const { state, dispatch } = (0, import_react.useContext)(import_model.Context);
61
61
  const translationOriginal = (0, import_useTranslationOriginal.default)();
62
+ const [keyword, setKeyword] = (0, import_react.useState)("");
62
63
  const keywordRef = (0, import_react.useRef)("");
64
+ keywordRef.current = keyword;
63
65
  const Toast = (0, import_useToast.default)();
64
66
  const { openScan, closeScan } = (0, import_useScanCustomer.default)();
65
67
  const context = (0, import_useEngineContext.default)();
@@ -81,7 +83,6 @@ var CartClientCard = (0, import_react.forwardRef)((props, ref) => {
81
83
  selectedCustomer,
82
84
  loading,
83
85
  pagination,
84
- loadCustomers,
85
86
  changePage,
86
87
  selectCustomer,
87
88
  addCustomerToFirst,
@@ -91,9 +92,22 @@ var CartClientCard = (0, import_react.forwardRef)((props, ref) => {
91
92
  } = (0, import_useCustomer.useCustomer)({
92
93
  changeCustomerToGlobalState
93
94
  });
95
+ const handleSearchClient = async (keyword2) => {
96
+ var _a2, _b2;
97
+ await initLoad(keyword2);
98
+ (_b2 = (_a2 = clientSearchRef.current) == null ? void 0 : _a2.resetScrollPosition) == null ? void 0 : _b2.call(_a2);
99
+ };
100
+ const _debouncedSearch = (0, import_ahooks.useDebounceFn)(
101
+ async (_keyword) => {
102
+ var _a2, _b2;
103
+ await initLoad(keyword);
104
+ (_b2 = (_a2 = clientSearchRef.current) == null ? void 0 : _a2.resetScrollPosition) == null ? void 0 : _b2.call(_a2);
105
+ },
106
+ { wait: 500 }
107
+ );
94
108
  (0, import_react.useEffect)(() => {
95
- initLoad();
96
- }, []);
109
+ _debouncedSearch.run(keyword);
110
+ }, [keyword]);
97
111
  (0, import_react.useEffect)(() => {
98
112
  if (state.action) {
99
113
  state.action({
@@ -104,27 +118,18 @@ var CartClientCard = (0, import_react.forwardRef)((props, ref) => {
104
118
  });
105
119
  }
106
120
  }, []);
107
- const updateSearchKeyword = (newVal) => {
108
- var _a2, _b2;
109
- (_b2 = (_a2 = clientSearchRef.current) == null ? void 0 : _a2.setSearchKeyword) == null ? void 0 : _b2.call(_a2, newVal);
110
- keywordRef.current = newVal;
111
- };
112
121
  const handleScanCustomer = (customer) => {
113
122
  if (customer == null ? void 0 : customer.scanCode) {
114
- updateSearchKeyword(customer.scanCode);
115
- handleSearchClient(customer.scanCode);
123
+ setKeyword(customer.scanCode);
116
124
  }
117
125
  };
118
126
  (0, import_react.useEffect)(() => {
119
- var _a2, _b2;
120
127
  if (searchModalVisible) {
121
128
  openScan(handleScanCustomer);
122
129
  } else {
123
130
  closeScan();
124
131
  if (keywordRef.current) {
125
- updateSearchKeyword("");
126
- (_b2 = (_a2 = clientSearchRef.current) == null ? void 0 : _a2.resetScrollPosition) == null ? void 0 : _b2.call(_a2);
127
- initLoad();
132
+ setKeyword("");
128
133
  }
129
134
  }
130
135
  }, [searchModalVisible, initLoad]);
@@ -133,34 +138,21 @@ var CartClientCard = (0, import_react.forwardRef)((props, ref) => {
133
138
  };
134
139
  const handleChangeClient = (data) => {
135
140
  setSearchModalVisible(true);
136
- console.log("更换客户:", data);
137
141
  };
138
142
  const handleRemoveClient = (data) => {
139
143
  selectCustomer(null);
140
- console.log("移除客户:", data);
141
144
  };
142
145
  const handleViewClient = (data) => {
143
- console.log("查看客户:", data);
144
146
  state.action({
145
147
  type: "pisell1.handleOpenCustomerModal",
146
148
  data: { id: state.client.value.id },
147
149
  callback: (data2) => {
148
- if (state.disabledEdit) {
149
- return;
150
- }
151
150
  }
152
151
  });
153
152
  };
154
- const handleRowClick = (record) => {
155
- handleSetClient(record);
156
- };
157
153
  const handleModalCancel = () => {
158
154
  setSearchModalVisible(false);
159
155
  };
160
- const handleSearchClient = async (keyword) => {
161
- await loadCustomers({ search: keyword });
162
- };
163
- const _debouncedSearch = (0, import_ahooks.useDebounceFn)(handleSearchClient, { wait: 500 });
164
156
  const handleAddClientSuccess = (record, isChecked) => {
165
157
  addCustomerToFirst(record);
166
158
  if (isChecked) {
@@ -261,11 +253,11 @@ var CartClientCard = (0, import_react.forwardRef)((props, ref) => {
261
253
  loading,
262
254
  dataSource: customers,
263
255
  onSearch: handleSearchClient,
264
- onSearchTextChange: (keyword) => {
265
- keywordRef.current = keyword;
266
- _debouncedSearch.run(keyword);
256
+ keyword,
257
+ onKeywordChange: (_keyword) => {
258
+ setKeyword(_keyword);
267
259
  },
268
- onRowClick: handleRowClick,
260
+ onRowClick: handleSetClient,
269
261
  containerProps: {
270
262
  open: searchModalVisible,
271
263
  onCancel: handleModalCancel
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../../../info/service/actions/index.less';
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -7,7 +7,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
7
7
  type: string;
8
8
  value: number;
9
9
  };
10
- locale: string;
10
+ locale: any;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -52,6 +52,7 @@ var import_materials = require("@pisell/materials");
52
52
  var import_utils5 = require("../../../info/utils");
53
53
  var import_utils6 = require("../../../info/service2/utils");
54
54
  var import_utils7 = require("../../../../ticketBooking/utils");
55
+ var import_noteModal = __toESM(require("../../../../../plus/noteModal"));
55
56
  var submitLock = false;
56
57
  var Info = (_, ref) => {
57
58
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I;
@@ -60,9 +61,11 @@ var Info = (_, ref) => {
60
61
  const useResource = import_antd.Form.useWatch("resource", form);
61
62
  const useStartTime = import_antd.Form.useWatch("start_time", form);
62
63
  const useDuration = import_antd.Form.useWatch("duration", form);
64
+ const useNote = import_antd.Form.useWatch("note", form);
63
65
  const { state, dispatch } = (0, import_react.useContext)(import_model.Context);
64
66
  const resourcesRef = (0, import_react.useRef)(null);
65
67
  const isChangeTotal = (0, import_react.useRef)(false);
68
+ const [noteModalOpen, setNoteModalOpen] = (0, import_react.useState)(false);
66
69
  const isNormalProduct = (0, import_react.useMemo)(() => {
67
70
  var _a2, _b2, _c2;
68
71
  if (!((_a2 = state == null ? void 0 : state.service) == null ? void 0 : _a2.cacheItem)) {
@@ -587,26 +590,56 @@ var Info = (_, ref) => {
587
590
  }, []);
588
591
  const footer = (0, import_react.useMemo)(() => {
589
592
  var _a2;
590
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-body-edit-footer" }, /* @__PURE__ */ import_react.default.createElement(
593
+ return /* @__PURE__ */ import_react.default.createElement(
591
594
  "div",
592
595
  {
593
- className: "pisell-lowcode__booking-service-delete-wrap",
594
- onClick: handleDeleteProduct
596
+ className: "pisell-lowcode__booking-service-body-edit-footer",
597
+ style: (state == null ? void 0 : state.isBookingTicket2) ? { justifyContent: "space-between" } : {}
595
598
  },
596
- /* @__PURE__ */ import_react.default.createElement(import_Delete_wght300_24px.default, { className: "pisell-lowcode__booking-service-delete-icon" })
597
- ), /* @__PURE__ */ import_react.default.createElement(
598
- import_antd.Button,
599
- {
600
- type: "primary",
601
- className: "pisell-lowcode__booking-service-body-edit-footer-apple",
602
- disabled: !isNormalProduct && !((_a2 = state.service.resourcesOrigin) == null ? void 0 : _a2.length),
603
- onClick: () => {
604
- form.submit();
605
- }
606
- },
607
- import_utils.locales.getText("pisell2.text.apply")
608
- ));
609
- }, [(_G = state.service.resourcesOrigin) == null ? void 0 : _G.length]);
599
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-body-edit-footer-left" }, /* @__PURE__ */ import_react.default.createElement(
600
+ "div",
601
+ {
602
+ className: "pisell-lowcode__booking-service-delete-wrap",
603
+ onClick: handleDeleteProduct
604
+ },
605
+ /* @__PURE__ */ import_react.default.createElement(import_Delete_wght300_24px.default, { className: "pisell-lowcode__booking-service-delete-icon" })
606
+ ), (state == null ? void 0 : state.isBookingTicket2) && /* @__PURE__ */ import_react.default.createElement(
607
+ import_antd.ConfigProvider,
608
+ {
609
+ theme: {
610
+ token: {
611
+ colorPrimary: "#0d7fa9"
612
+ }
613
+ }
614
+ },
615
+ /* @__PURE__ */ import_react.default.createElement(
616
+ import_antd.Button,
617
+ {
618
+ className: "pisell-lowcode__booking-service-buttons-item note-button",
619
+ type: "primary",
620
+ size: "large",
621
+ onClick: () => setNoteModalOpen(true),
622
+ style: { height: "48px", width: "140px" }
623
+ },
624
+ import_utils.locales.getText("pisell2.ticket-booking.note"),
625
+ useNote && /* @__PURE__ */ import_react.default.createElement("span", { className: "note-indicator" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-info-circle2" }))
626
+ )
627
+ )),
628
+ /* @__PURE__ */ import_react.default.createElement(
629
+ import_antd.Button,
630
+ {
631
+ type: "primary",
632
+ className: "pisell-lowcode__booking-service-body-edit-footer-apple",
633
+ disabled: !isNormalProduct && !((_a2 = state.service.resourcesOrigin) == null ? void 0 : _a2.length),
634
+ onClick: () => {
635
+ form.submit();
636
+ },
637
+ style: (state == null ? void 0 : state.isBookingTicket2) ? { width: "200px", maxWidth: "200px" } : {}
638
+ },
639
+ import_utils.locales.getText("pisell2.text.apply")
640
+ )
641
+ );
642
+ }, [(_G = state.service.resourcesOrigin) == null ? void 0 : _G.length, isNormalProduct]);
610
643
  console.log("render edit");
611
644
  console.log(state.service.editModal && !((_H = state.service.cacheItem) == null ? void 0 : _H.autoClose), performance.now() - window.pp1, "打开商品1");
612
645
  const [val, setVal] = (0, import_react.useState)(false);
@@ -619,6 +652,17 @@ var Info = (_, ref) => {
619
652
  setVal(false);
620
653
  }
621
654
  }, [isShowTimeAndResource]);
655
+ const handleNoteConfirm = (noteValue) => {
656
+ form.setFieldsValue({ note: noteValue });
657
+ setNoteModalOpen(false);
658
+ };
659
+ const handleNoteDelete = () => {
660
+ form.setFieldsValue({ note: "" });
661
+ setNoteModalOpen(false);
662
+ };
663
+ const handleNoteCancel = () => {
664
+ setNoteModalOpen(false);
665
+ };
622
666
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
623
667
  import_drawer.default,
624
668
  {
@@ -639,7 +683,16 @@ var Info = (_, ref) => {
639
683
  });
640
684
  }
641
685
  },
642
- /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-body-edit" }, /* @__PURE__ */ import_react.default.createElement(import_antd.Form, { layout: "vertical", form, onFinish }, /* @__PURE__ */ import_react.default.createElement(import_antd.Row, { style: { width: "100%" }, gutter: [16, 0] }, productName, price, reason, val && isShowTimeAndResource && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, startTime, duration, resource, capacity, hiddenQuantity), isNormalProduct && quantity)), footer)
686
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-body-edit" }, /* @__PURE__ */ import_react.default.createElement(import_antd.Form, { layout: "vertical", form, onFinish }, /* @__PURE__ */ import_react.default.createElement(import_antd.Row, { style: { width: "100%" }, gutter: [16, 0] }, productName, price, reason, val && isShowTimeAndResource && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, startTime, duration, resource, capacity, hiddenQuantity), isNormalProduct && quantity), /* @__PURE__ */ import_react.default.createElement(import_antd.Form.Item, { noStyle: true, name: "note" }, noteModalOpen && /* @__PURE__ */ import_react.default.createElement(
687
+ import_noteModal.default,
688
+ {
689
+ open: noteModalOpen,
690
+ value: form.getFieldValue("note"),
691
+ onConfirm: handleNoteConfirm,
692
+ onDelete: handleNoteDelete,
693
+ onCancel: handleNoteCancel
694
+ }
695
+ ))), footer)
643
696
  ));
644
697
  };
645
698
  var editService_default = (0, import_react.forwardRef)(Info);
@@ -2,13 +2,12 @@
2
2
  padding: 24px 32px 100px !important;
3
3
  }
4
4
 
5
-
6
5
  .pisell-lowcode__booking-service-body-edit-footer {
7
6
  position: absolute;
8
7
  bottom: 0;
9
8
  left: 0;
10
9
  width: 100%;
11
- border-top: 1px solid #E7E8E9;
10
+ border-top: 1px solid #e7e8e9;
12
11
  padding: 20px 32px;
13
12
  display: flex;
14
13
  align-items: center;
@@ -16,12 +15,19 @@
16
15
  gap: 12px;
17
16
  background-color: #fff;
18
17
 
18
+ .pisell-lowcode__booking-service-body-edit-footer-left {
19
+ display: flex;
20
+ align-items: center;
21
+ gap: 12px;
22
+ width: fit-content;
23
+ }
24
+
19
25
  .pisell-lowcode__booking-service-delete-wrap {
20
26
  height: 48px;
21
27
  width: 48px;
22
28
  border-radius: 8px;
23
- border: 1px solid var(--gray-300, #D0D5DD);
24
- background: var(--base-white, #FFF);
29
+ border: 1px solid var(--gray-300, #d0d5dd);
30
+ background: var(--base-white, #fff);
25
31
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
26
32
  cursor: pointer;
27
33
  display: flex;
@@ -29,11 +35,42 @@
29
35
  justify-content: center;
30
36
 
31
37
  .pisell-lowcode__booking-service-delete-icon {
32
- color: #B42318;
38
+ color: #b42318;
33
39
  font-size: 20px;
34
40
  }
35
41
  }
36
42
 
43
+ .pisell-lowcode__booking-service-buttons-item {
44
+ height: 48px;
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: center;
48
+ flex: 1;
49
+ position: relative;
50
+
51
+ &.note-button {
52
+ .note-indicator {
53
+ position: absolute;
54
+ top: 0; // 不使用负数偏移
55
+ right: 0; // 不使用负数偏移
56
+ transform: translate(12%, -12%); // 向外溢出约 2-3px
57
+ width: 24px;
58
+ height: 24px;
59
+ border-radius: 50%;
60
+ background-color: #7f56da; // 紫色
61
+ color: #fff;
62
+ font-weight: 700;
63
+ display: flex;
64
+ align-items: center;
65
+ justify-content: center;
66
+ line-height: 1;
67
+ font-size: 30px;
68
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
69
+ pointer-events: none;
70
+ }
71
+ }
72
+ }
73
+
37
74
  .pisell-lowcode__booking-service-body-edit-footer-apple {
38
75
  flex: 1;
39
76
  height: 48px;
@@ -46,14 +83,12 @@
46
83
  .pisell-lowcode-select-selection-item {
47
84
  .resource-option {
48
85
  padding-left: 0;
49
-
50
86
  }
51
87
  }
52
88
 
53
89
  .pisell-lowcode-select-item-option-content {
54
90
  .resource-option {
55
91
  padding-left: 0;
56
-
57
92
  }
58
93
  }
59
94
 
@@ -63,7 +98,7 @@
63
98
  gap: 8px;
64
99
 
65
100
  .resource-option-alert-icon {
66
- color: #B42318;
101
+ color: #b42318;
67
102
  cursor: pointer;
68
103
  }
69
104
  }
@@ -72,7 +107,7 @@
72
107
  min-height: 40px;
73
108
  cursor: pointer;
74
109
  background-color: #ffffff;
75
- border: 1px solid #D0D5DD;
110
+ border: 1px solid #d0d5dd;
76
111
  border-radius: 10px;
77
112
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
78
113
  overflow: hidden;
@@ -90,10 +125,11 @@
90
125
  flex: 1;
91
126
  }
92
127
 
93
- .current-service-info-change-btn {}
128
+ .current-service-info-change-btn {
129
+ }
94
130
  }
95
131
 
96
132
  &:hover {
97
133
  border-color: #7f56d9;
98
134
  }
99
- }
135
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, errorMessage, handleDeleteService, }: any) => JSX.Element;
4
3
  export default ServiceItem;
@@ -85,7 +85,7 @@ var locales_default = {
85
85
  "pisell2.text.enroll.detail": "Details",
86
86
  "pisell2.text.add-products-successfully": "Add products successfully",
87
87
  "pisell2.text.add": "Add",
88
- "pisell2.text.created-successfully": "Appointment created",
88
+ "pisell2.text.created-successfully": "Order saved. You can find it in Order List.",
89
89
  "pisell2.text.edit-successfully": "Edited successfully",
90
90
  "pisell2.text.updated": " updated",
91
91
  "pisell2.text.appointment-updated": "Appointment updated",
@@ -304,7 +304,7 @@ var locales_default = {
304
304
  "pisell2.action-buttons.no-items-to-adjust": "No items in cart to adjust price.",
305
305
  "pisell2.action-buttons.adjust-order-price": "Adjust Order Price",
306
306
  "pisell2.action-buttons.price-adjusted-success": "Order price adjusted successfully.",
307
- "pisell2.action-buttons.clear-success": "Clear Success",
307
+ "pisell2.action-buttons.clear-success": "Cart Cleared",
308
308
  "pisell2.text.manual-price-adjustment": "Discount",
309
309
  // Customise Item Modal
310
310
  "pisell2.customise-item.modal-title": "Create and Add Customise (Once-off) Item",
@@ -427,7 +427,7 @@ var locales_default = {
427
427
  "pisell2.text.refund-amount": "退款金额",
428
428
  //
429
429
  "pisell2.text.add": "添加",
430
- "pisell2.text.created-successfully": "预约已创建",
430
+ "pisell2.text.created-successfully": "订单已保存。您可以在订单列表中找到它。",
431
431
  "pisell2.text.edit-successfully": "编辑成功",
432
432
  "pisell2.text.appointment-updated": "预约已更新",
433
433
  "pisell2.text.updated": "已更新",
@@ -764,7 +764,7 @@ var locales_default = {
764
764
  "pisell2.text.add-products-successfully": "添加商品成功",
765
765
  //
766
766
  "pisell2.text.add": "添加",
767
- "pisell2.text.created-successfully": "預約已創建",
767
+ "pisell2.text.created-successfully": "訂單已保存。 您可以在訂單清單中找到它。",
768
768
  "pisell2.text.edit-successfully": "編輯成功",
769
769
  "pisell2.text.appointment-updated": "預約已更新",
770
770
  "pisell2.text.updated": "已更新",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ContactType = {
4
3
  country_calling_code: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface DurationProps extends SelectProps {
4
3
  locale?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from "antd";
3
2
  interface StartTimeProps extends SelectProps {
4
3
  locale?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  isEdit: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  title?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const AddNote: ({ value, onChange, title, placeholder }: any) => JSX.Element;
4
3
  export default AddNote;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos, DeviceStatus } from './const';
3
2
  import './index.less';
4
3
  interface PosProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DeviceProp } from "./const";
3
2
  interface PosProps {
4
3
  eftposName: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps } from './const';
3
2
  /**
4
3
  * @title: 支付金额信息配置页
@@ -9,7 +8,7 @@ import { PosProps } from './const';
9
8
  */
10
9
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
10
  className?: string | undefined;
12
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
12
  [keys: string]: unknown;
14
13
  } | undefined, other?: any) => void) | undefined;
15
14
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 断网(客户端)提示页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 取消签名确认页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps, PosProps } from './const';
3
2
  import './device.less';
4
3
  /**
@@ -11,7 +10,7 @@ import './device.less';
11
10
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
12
11
  api: PayProps['api'];
13
12
  className?: string | undefined;
14
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
+ onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
15
14
  [keys: string]: unknown;
16
15
  } | undefined, other?: any) => void) | undefined;
17
16
  onClose: () => void;
@@ -15,11 +15,11 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"tyro" | "stripe" | "payo" | "windcave" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps } from './const';
3
2
  import './index.less';
4
3
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Linkly: ({ api, onChange }: any) => JSX.Element;
3
2
  export default Linkly;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps } from './const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusEnum } from '../const';
3
2
  export declare const POS: ({ api, onChange, }: {
4
3
  api: {