@pisell/private-materials 6.2.23 → 6.2.25

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 (531) 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 +9 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/Sales/Cart/index.js +1 -0
  13. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +1 -1
  16. package/es/components/booking/addons/index.js +4 -1
  17. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  18. package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
  19. package/es/components/booking/components/actionButtons/index.d.ts +29 -0
  20. package/es/components/booking/components/actionButtons/index.js +395 -0
  21. package/es/components/booking/components/actionButtons/index.less +148 -0
  22. package/es/components/booking/components/browserSelect/index.js +1 -1
  23. package/es/components/booking/components/clearCartModal/index.d.ts +10 -0
  24. package/es/components/booking/components/clearCartModal/index.js +50 -0
  25. package/es/components/booking/components/clearCartModal/index.less +109 -0
  26. package/es/components/booking/components/customiseItemModal/index.d.ts +28 -0
  27. package/es/components/booking/components/customiseItemModal/index.js +294 -0
  28. package/es/components/booking/components/customiseItemModal/index.less +606 -0
  29. package/es/components/booking/components/footer/amount.d.ts +1 -0
  30. package/es/components/booking/components/footer/amount.js +15 -3
  31. package/es/components/booking/components/footer/index.js +106 -39
  32. package/es/components/booking/components/footer/utils.js +52 -24
  33. package/es/components/booking/components/tabPane/index.js +86 -5
  34. package/es/components/booking/components/tabPane/index.less +75 -1
  35. package/es/components/booking/components/voucher/index.js +19 -8
  36. package/es/components/booking/components/voucher/index.less +1 -1
  37. package/es/components/booking/dashboard/index.d.ts +1 -1
  38. package/es/components/booking/dashboard/index.js +10 -3
  39. package/es/components/booking/forms/model.js +5 -5
  40. package/es/components/booking/hooks/useQuotation.js +17 -7
  41. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  42. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  43. package/es/components/booking/info/hooks/useInfoHolder.js +12 -3
  44. package/es/components/booking/info/index.less +18 -2
  45. package/es/components/booking/info/main.js +14 -15
  46. package/es/components/booking/info/service/Lists.js +5 -2
  47. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  48. package/es/components/booking/info/service/like/index.js +1 -1
  49. package/es/components/booking/info/service/serviceItem/index.js +2 -2
  50. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  51. package/es/components/booking/info/service2/utils.d.ts +5 -1
  52. package/es/components/booking/info/service2/utils.js +12 -2
  53. package/es/components/booking/info2/cartClientCard/index.d.ts +6 -0
  54. package/es/components/booking/info2/cartClientCard/index.js +343 -0
  55. package/es/components/booking/info2/cartClientCard/index.less +6 -0
  56. package/es/components/booking/info2/cartClientCard/locales.d.ts +21 -0
  57. package/es/components/booking/info2/cartClientCard/locales.js +26 -0
  58. package/es/components/booking/info2/cartClientCard/types.d.ts +13 -0
  59. package/es/components/booking/info2/cartClientCard/types.js +1 -0
  60. package/es/components/booking/info2/cartClientCard/utils.d.ts +3 -0
  61. package/es/components/booking/info2/cartClientCard/utils.js +7 -0
  62. package/es/components/booking/info2/index.js +40 -18
  63. package/es/components/booking/info2/service/addTimeModal/index.js +2 -1
  64. package/es/components/booking/info2/service/editNormalService/index.d.ts +3 -0
  65. package/es/components/booking/info2/service/editNormalService/index.js +67 -0
  66. package/es/components/booking/info2/service/editService/index.js +3 -2
  67. package/es/components/booking/info2/service/index.js +11 -5
  68. package/es/components/booking/info2/service/serviceItem/index.js +2 -2
  69. package/es/components/booking/info2/utilsByBooking.d.ts +1 -0
  70. package/es/components/booking/info2/utilsByBooking.js +26 -3
  71. package/es/components/booking/locales.d.ts +75 -0
  72. package/es/components/booking/locales.js +99 -3
  73. package/es/components/booking/materiels/startTime/index.js +1 -1
  74. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  75. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  76. package/es/components/booking/notes/addNote/index.d.ts +1 -1
  77. package/es/components/booking/notes/addNote/index.js +52 -32
  78. package/es/components/booking/notes/addNote/index.less +53 -0
  79. package/es/components/booking/notes/model.js +5 -5
  80. package/es/components/booking/payments/model.js +5 -5
  81. package/es/components/eftposPay/amount.d.ts +1 -1
  82. package/es/components/eftposPay/device.d.ts +1 -1
  83. package/es/components/eftposPay/hooks.d.ts +2 -2
  84. package/es/components/eftposPay/store/index.d.ts +3 -3
  85. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  86. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  87. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  88. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  89. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  90. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  91. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  92. package/es/components/listComponent/index.js +5 -5
  93. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  94. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  95. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  96. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  97. package/es/components/productExtension/card/index.js +3 -3
  98. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  99. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  100. package/es/components/productExtension/fields/Forms/index.js +12 -12
  101. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  102. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  103. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  104. package/es/components/productExtension/server.js +2 -2
  105. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  106. package/es/components/schedules/calendar/index.js +4 -4
  107. package/es/components/schedules/calendar/serve.js +2 -2
  108. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  109. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  110. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  111. package/es/components/schedules/components/ResourceList/index.js +1 -1
  112. package/es/components/schedules/components/Search/index.js +5 -5
  113. package/es/components/schedules/model.js +5 -5
  114. package/es/components/schedules/openHours/index.js +1 -1
  115. package/es/components/schedules/openHours/serve.js +2 -2
  116. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  117. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  118. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  119. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  120. package/es/components/schedules/products/serve.js +2 -2
  121. package/es/components/schedules/products/utils.js +5 -5
  122. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  123. package/es/components/schedules/resources/detail/index.js +10 -10
  124. package/es/components/schedules/resources/list/index.js +2 -2
  125. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  126. package/es/components/schedules/resources/serve.js +2 -2
  127. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  128. package/es/components/schedules/utils.js +4 -4
  129. package/es/components/selectModal/index.js +2 -2
  130. package/es/components/shoppingCart/components/Cart/Product.js +20 -3
  131. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  132. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  133. package/es/components/shoppingCart/type.d.ts +1 -0
  134. package/es/components/subTotal/index.less +1 -1
  135. package/es/components/ticketBooking/components/addServiceVariant/addService.js +155 -217
  136. package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +8 -0
  137. package/es/components/ticketBooking/components/addServiceVariant/utils.js +190 -0
  138. package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +7 -0
  139. package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.js +33 -0
  140. package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.less +5 -0
  141. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +12 -0
  142. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.js +213 -0
  143. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.less +69 -0
  144. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
  145. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.js +79 -0
  146. package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +22 -0
  147. package/es/components/ticketBooking/components/bookingDataPanel/constants.js +25 -0
  148. package/es/components/ticketBooking/components/bookingDataPanel/index.d.ts +9 -0
  149. package/es/components/ticketBooking/components/bookingDataPanel/index.js +74 -0
  150. package/es/components/ticketBooking/components/bookingDataPanel/index.less +61 -0
  151. package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +14 -0
  152. package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.js +71 -0
  153. package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  154. package/es/components/ticketBooking/components/bookingDataPanel/serve.js +0 -0
  155. package/es/components/ticketBooking/components/floatButtons/index.d.ts +11 -0
  156. package/es/components/ticketBooking/components/floatButtons/index.js +19 -0
  157. package/es/components/ticketBooking/components/floatButtons/index.less +17 -0
  158. package/es/components/ticketBooking/components/ticketBooking/index.js +208 -33
  159. package/es/components/ticketBooking/components/ticketBooking/index.less +28 -0
  160. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  161. package/es/components/ticketBooking/components/timeBar/index.js +10 -3
  162. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +1 -0
  163. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +5 -0
  164. package/es/components/ticketBooking/hooks/pisellos/index.d.ts +3 -0
  165. package/es/components/ticketBooking/hooks/pisellos/index.js +3 -0
  166. package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  167. package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +244 -0
  168. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +12 -0
  169. package/es/components/ticketBooking/hooks/pisellos/useProducts.js +52 -0
  170. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +5 -0
  171. package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +30 -0
  172. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +5 -0
  173. package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +29 -0
  174. package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +2 -0
  175. package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +49 -0
  176. package/es/components/ticketBooking/index.js +21 -3
  177. package/es/components/ticketBooking/locales.d.ts +6 -3
  178. package/es/components/ticketBooking/locales.js +6 -3
  179. package/es/components/ticketBooking/serve.js +11 -11
  180. package/es/components/ticketBooking/utils/index.d.ts +39 -2
  181. package/es/components/ticketBooking/utils/index.js +104 -11
  182. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  183. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  184. package/es/hooks/useComponents.js +1 -1
  185. package/es/hooks/useToast.d.ts +2 -0
  186. package/es/hooks/useToast.js +9 -0
  187. package/es/hooks/useTranslationOriginal.d.ts +1 -0
  188. package/es/hooks/useTranslationOriginal.js +10 -0
  189. package/es/index.d.ts +4 -0
  190. package/es/index.js +5 -1
  191. package/es/plus/clientCard/index.d.ts +7 -0
  192. package/es/plus/clientCard/index.js +452 -0
  193. package/es/plus/clientCard/index.less +539 -0
  194. package/es/plus/clientCard/line/index.d.ts +9 -0
  195. package/es/plus/clientCard/line/index.js +157 -0
  196. package/es/plus/clientCard/line/index.less +142 -0
  197. package/es/plus/clientCard/locales.d.ts +18 -0
  198. package/es/plus/clientCard/locales.js +17 -0
  199. package/es/plus/clientCard/types.d.ts +126 -0
  200. package/es/plus/clientCard/types.js +1 -0
  201. package/es/plus/clientCard/utils.d.ts +8 -0
  202. package/es/plus/clientCard/utils.js +59 -0
  203. package/es/plus/clientName/index.d.ts +5 -0
  204. package/es/plus/clientName/index.js +18 -0
  205. package/es/plus/clientName/index.less +10 -0
  206. package/es/plus/clientName/type.d.ts +13 -0
  207. package/es/plus/clientName/type.js +1 -0
  208. package/es/plus/clientName/utils.d.ts +2 -0
  209. package/es/plus/clientName/utils.js +18 -0
  210. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +2 -0
  211. package/es/plus/clinetSearch/Add/BirthdayField/index.js +277 -0
  212. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +2 -0
  213. package/es/plus/clinetSearch/Add/GenderField/index.js +18 -0
  214. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -0
  215. package/es/plus/clinetSearch/Add/PhoneField/index.js +52 -0
  216. package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
  217. package/es/plus/clinetSearch/Add/PhoneField/serve.js +166 -0
  218. package/es/plus/clinetSearch/Add/index.d.ts +18 -0
  219. package/es/plus/clinetSearch/Add/index.js +212 -0
  220. package/es/plus/clinetSearch/Add/index.less +30 -0
  221. package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
  222. package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +265 -0
  223. package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
  224. package/es/plus/clinetSearch/InfiniteScroll/index.js +1 -0
  225. package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
  226. package/es/plus/clinetSearch/InfiniteScroll/types.js +1 -0
  227. package/es/plus/clinetSearch/index.d.ts +18 -0
  228. package/es/plus/clinetSearch/index.js +214 -0
  229. package/es/plus/clinetSearch/index.less +91 -0
  230. package/es/plus/clinetSearch/locales.d.ts +102 -0
  231. package/es/plus/clinetSearch/locales.js +101 -0
  232. package/es/plus/clinetSearch/serve.d.ts +1 -0
  233. package/es/plus/clinetSearch/serve.js +31 -0
  234. package/es/plus/clinetSearch/types.d.ts +49 -0
  235. package/es/plus/clinetSearch/types.js +1 -0
  236. package/es/plus/noteModal/AddTempModal.d.ts +7 -0
  237. package/es/plus/noteModal/AddTempModal.js +64 -0
  238. package/es/plus/noteModal/index.d.ts +4 -0
  239. package/es/plus/noteModal/index.js +199 -0
  240. package/es/plus/noteModal/index.less +168 -0
  241. package/es/plus/noteModal/locales.d.ts +33 -0
  242. package/es/plus/noteModal/locales.js +32 -0
  243. package/es/plus/noteModal/types.d.ts +17 -0
  244. package/es/plus/noteModal/types.js +1 -0
  245. package/es/pro/comprehensiveSearch/camera.svg +4 -0
  246. package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
  247. package/es/pro/comprehensiveSearch/hooks/useNativeScanner.js +24 -0
  248. package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
  249. package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +44 -0
  250. package/es/pro/comprehensiveSearch/index.d.ts +9 -0
  251. package/es/pro/comprehensiveSearch/index.js +342 -0
  252. package/es/pro/comprehensiveSearch/index.less +323 -0
  253. package/es/pro/comprehensiveSearch/locales.d.ts +18 -0
  254. package/es/pro/comprehensiveSearch/locales.js +17 -0
  255. package/es/pro/comprehensiveSearch/types.d.ts +31 -0
  256. package/es/pro/comprehensiveSearch/types.js +1 -0
  257. package/es/pro/numberKeyboard/index.d.ts +28 -0
  258. package/es/pro/numberKeyboard/index.js +155 -0
  259. package/es/pro/numberKeyboard/index.less +25 -0
  260. package/es/pro/numberKeyboard/locales.d.ts +12 -0
  261. package/es/pro/numberKeyboard/locales.js +11 -0
  262. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  263. package/es/pro/pisellNumberSelector/example.js +68 -0
  264. package/es/pro/pisellNumberSelector/index.d.ts +26 -0
  265. package/es/pro/pisellNumberSelector/index.js +231 -0
  266. package/es/pro/pisellNumberSelector/index.less +193 -0
  267. package/es/pro/pisellPhoneKeyboard/index.d.ts +12 -0
  268. package/es/pro/pisellPhoneKeyboard/index.js +211 -0
  269. package/es/pro/pisellPhoneKeyboard/index.less +157 -0
  270. package/es/pro/pisellPhoneKeyboard/locales.d.ts +12 -0
  271. package/es/pro/pisellPhoneKeyboard/locales.js +11 -0
  272. package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +5 -0
  273. package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.js +158 -0
  274. package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.less +13 -0
  275. package/es/pro/pisellPriceKeyboardModal/index.d.ts +2 -0
  276. package/es/pro/pisellPriceKeyboardModal/index.js +1 -0
  277. package/es/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
  278. package/es/pro/pisellPriceKeyboardModal/types.js +1 -0
  279. package/es/pro/pisellPriceRadio/index.d.ts +26 -0
  280. package/es/pro/pisellPriceRadio/index.js +113 -0
  281. package/es/pro/pisellPriceRadio/index.less +158 -0
  282. package/es/pro/skuDetailModal/index.d.ts +5 -0
  283. package/es/pro/skuDetailModal/index.js +352 -0
  284. package/es/pro/skuDetailModal/index.less +236 -0
  285. package/es/pro/skuDetailModal/locales.d.ts +48 -0
  286. package/es/pro/skuDetailModal/locales.js +47 -0
  287. package/es/pro/skuDetailModal/types.d.ts +347 -0
  288. package/es/pro/skuDetailModal/types.js +1 -0
  289. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  290. package/lib/components/Sales/Cart/index.js +1 -0
  291. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  292. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  293. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +1 -1
  294. package/lib/components/booking/addons/index.js +4 -1
  295. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  296. package/lib/components/booking/components/actionButtons/index.d.ts +29 -0
  297. package/lib/components/booking/components/actionButtons/index.js +325 -0
  298. package/lib/components/booking/components/actionButtons/index.less +148 -0
  299. package/lib/components/booking/components/clearCartModal/index.d.ts +10 -0
  300. package/lib/components/booking/components/clearCartModal/index.js +80 -0
  301. package/lib/components/booking/components/clearCartModal/index.less +109 -0
  302. package/lib/components/booking/components/customiseItemModal/index.d.ts +28 -0
  303. package/lib/components/booking/components/customiseItemModal/index.js +279 -0
  304. package/lib/components/booking/components/customiseItemModal/index.less +606 -0
  305. package/lib/components/booking/components/footer/amount.d.ts +1 -0
  306. package/lib/components/booking/components/footer/amount.js +5 -3
  307. package/lib/components/booking/components/footer/index.js +93 -23
  308. package/lib/components/booking/components/footer/utils.js +38 -13
  309. package/lib/components/booking/components/tabPane/index.js +78 -4
  310. package/lib/components/booking/components/tabPane/index.less +75 -1
  311. package/lib/components/booking/components/voucher/index.js +18 -7
  312. package/lib/components/booking/components/voucher/index.less +1 -1
  313. package/lib/components/booking/dashboard/index.d.ts +1 -1
  314. package/lib/components/booking/dashboard/index.js +7 -2
  315. package/lib/components/booking/hooks/useQuotation.js +3 -1
  316. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  317. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  318. package/lib/components/booking/info/hooks/useInfoHolder.js +11 -3
  319. package/lib/components/booking/info/index.less +18 -2
  320. package/lib/components/booking/info/main.js +12 -5
  321. package/lib/components/booking/info/service/Lists.js +6 -2
  322. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  323. package/lib/components/booking/info/service/serviceItem/index.js +2 -2
  324. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  325. package/lib/components/booking/info/service2/utils.d.ts +5 -1
  326. package/lib/components/booking/info/service2/utils.js +14 -2
  327. package/lib/components/booking/info2/cartClientCard/index.d.ts +6 -0
  328. package/lib/components/booking/info2/cartClientCard/index.js +298 -0
  329. package/lib/components/booking/info2/cartClientCard/index.less +6 -0
  330. package/lib/components/booking/info2/cartClientCard/locales.d.ts +21 -0
  331. package/lib/components/booking/info2/cartClientCard/locales.js +50 -0
  332. package/lib/components/booking/info2/cartClientCard/types.d.ts +13 -0
  333. package/lib/components/booking/info2/cartClientCard/types.js +17 -0
  334. package/lib/components/booking/info2/cartClientCard/utils.d.ts +3 -0
  335. package/lib/components/booking/info2/cartClientCard/utils.js +37 -0
  336. package/lib/components/booking/info2/index.js +30 -9
  337. package/lib/components/booking/info2/service/addTimeModal/index.js +1 -0
  338. package/lib/components/booking/info2/service/editNormalService/index.d.ts +3 -0
  339. package/lib/components/booking/info2/service/editNormalService/index.js +100 -0
  340. package/lib/components/booking/info2/service/editService/index.js +2 -1
  341. package/lib/components/booking/info2/service/index.js +5 -5
  342. package/lib/components/booking/info2/service/serviceItem/index.js +2 -2
  343. package/lib/components/booking/info2/utilsByBooking.d.ts +1 -0
  344. package/lib/components/booking/info2/utilsByBooking.js +23 -4
  345. package/lib/components/booking/locales.d.ts +75 -0
  346. package/lib/components/booking/locales.js +93 -3
  347. package/lib/components/booking/notes/addNote/index.d.ts +1 -1
  348. package/lib/components/booking/notes/addNote/index.js +41 -23
  349. package/lib/components/booking/notes/addNote/index.less +53 -0
  350. package/lib/components/eftposPay/amount.d.ts +1 -1
  351. package/lib/components/eftposPay/device.d.ts +1 -1
  352. package/lib/components/eftposPay/hooks.d.ts +2 -2
  353. package/lib/components/eftposPay/store/index.d.ts +3 -3
  354. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  355. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  356. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  357. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  358. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  359. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  360. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  361. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  362. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  363. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  364. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  365. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  366. package/lib/components/schedules/utils.js +1 -1
  367. package/lib/components/shoppingCart/components/Cart/Product.js +20 -3
  368. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  369. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  370. package/lib/components/shoppingCart/type.d.ts +1 -0
  371. package/lib/components/subTotal/index.less +1 -1
  372. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +41 -131
  373. package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +8 -0
  374. package/lib/components/ticketBooking/components/addServiceVariant/utils.js +173 -0
  375. package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +7 -0
  376. package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.js +75 -0
  377. package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.less +5 -0
  378. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +12 -0
  379. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.js +210 -0
  380. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.less +69 -0
  381. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
  382. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.js +105 -0
  383. package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +22 -0
  384. package/lib/components/ticketBooking/components/bookingDataPanel/constants.js +57 -0
  385. package/lib/components/ticketBooking/components/bookingDataPanel/index.d.ts +9 -0
  386. package/lib/components/ticketBooking/components/bookingDataPanel/index.js +113 -0
  387. package/lib/components/ticketBooking/components/bookingDataPanel/index.less +61 -0
  388. package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +14 -0
  389. package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.js +84 -0
  390. package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  391. package/lib/components/ticketBooking/components/bookingDataPanel/serve.js +0 -0
  392. package/lib/components/ticketBooking/components/floatButtons/index.d.ts +11 -0
  393. package/lib/components/ticketBooking/components/floatButtons/index.js +52 -0
  394. package/lib/components/ticketBooking/components/floatButtons/index.less +17 -0
  395. package/lib/components/ticketBooking/components/ticketBooking/index.js +228 -80
  396. package/lib/components/ticketBooking/components/ticketBooking/index.less +28 -0
  397. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  398. package/lib/components/ticketBooking/components/timeBar/index.js +12 -2
  399. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +1 -0
  400. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +33 -0
  401. package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +3 -0
  402. package/lib/components/ticketBooking/hooks/pisellos/index.js +27 -0
  403. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  404. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +144 -0
  405. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +12 -0
  406. package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +47 -0
  407. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +5 -0
  408. package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +64 -0
  409. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +5 -0
  410. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +65 -0
  411. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +2 -0
  412. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +83 -0
  413. package/lib/components/ticketBooking/index.js +31 -4
  414. package/lib/components/ticketBooking/locales.d.ts +6 -3
  415. package/lib/components/ticketBooking/locales.js +6 -3
  416. package/lib/components/ticketBooking/serve.js +11 -11
  417. package/lib/components/ticketBooking/utils/index.d.ts +39 -2
  418. package/lib/components/ticketBooking/utils/index.js +71 -10
  419. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  420. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  421. package/lib/hooks/useToast.d.ts +2 -0
  422. package/lib/hooks/useToast.js +42 -0
  423. package/lib/hooks/useTranslationOriginal.d.ts +1 -0
  424. package/lib/hooks/useTranslationOriginal.js +42 -0
  425. package/lib/index.d.ts +4 -0
  426. package/lib/index.js +12 -0
  427. package/lib/plus/clientCard/index.d.ts +7 -0
  428. package/lib/plus/clientCard/index.js +442 -0
  429. package/lib/plus/clientCard/index.less +539 -0
  430. package/lib/plus/clientCard/line/index.d.ts +9 -0
  431. package/lib/plus/clientCard/line/index.js +153 -0
  432. package/lib/plus/clientCard/line/index.less +142 -0
  433. package/lib/plus/clientCard/locales.d.ts +18 -0
  434. package/lib/plus/clientCard/locales.js +41 -0
  435. package/lib/plus/clientCard/types.d.ts +126 -0
  436. package/lib/plus/clientCard/types.js +17 -0
  437. package/lib/plus/clientCard/utils.d.ts +8 -0
  438. package/lib/plus/clientCard/utils.js +75 -0
  439. package/lib/plus/clientName/index.d.ts +5 -0
  440. package/lib/plus/clientName/index.js +53 -0
  441. package/lib/plus/clientName/index.less +10 -0
  442. package/lib/plus/clientName/type.d.ts +13 -0
  443. package/lib/plus/clientName/type.js +17 -0
  444. package/lib/plus/clientName/utils.d.ts +2 -0
  445. package/lib/plus/clientName/utils.js +43 -0
  446. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +2 -0
  447. package/lib/plus/clinetSearch/Add/BirthdayField/index.js +256 -0
  448. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +2 -0
  449. package/lib/plus/clinetSearch/Add/GenderField/index.js +52 -0
  450. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -0
  451. package/lib/plus/clinetSearch/Add/PhoneField/index.js +78 -0
  452. package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +2 -0
  453. package/lib/plus/clinetSearch/Add/PhoneField/serve.js +193 -0
  454. package/lib/plus/clinetSearch/Add/index.d.ts +18 -0
  455. package/lib/plus/clinetSearch/Add/index.js +243 -0
  456. package/lib/plus/clinetSearch/Add/index.less +30 -0
  457. package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
  458. package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +235 -0
  459. package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
  460. package/lib/plus/clinetSearch/InfiniteScroll/index.js +35 -0
  461. package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
  462. package/lib/plus/clinetSearch/InfiniteScroll/types.js +17 -0
  463. package/lib/plus/clinetSearch/index.d.ts +18 -0
  464. package/lib/plus/clinetSearch/index.js +205 -0
  465. package/lib/plus/clinetSearch/index.less +91 -0
  466. package/lib/plus/clinetSearch/locales.d.ts +102 -0
  467. package/lib/plus/clinetSearch/locales.js +125 -0
  468. package/lib/plus/clinetSearch/serve.d.ts +1 -0
  469. package/lib/plus/clinetSearch/serve.js +33 -0
  470. package/lib/plus/clinetSearch/types.d.ts +49 -0
  471. package/lib/plus/clinetSearch/types.js +17 -0
  472. package/lib/plus/noteModal/AddTempModal.d.ts +7 -0
  473. package/lib/plus/noteModal/AddTempModal.js +95 -0
  474. package/lib/plus/noteModal/index.d.ts +4 -0
  475. package/lib/plus/noteModal/index.js +199 -0
  476. package/lib/plus/noteModal/index.less +168 -0
  477. package/lib/plus/noteModal/locales.d.ts +33 -0
  478. package/lib/plus/noteModal/locales.js +56 -0
  479. package/lib/plus/noteModal/types.d.ts +17 -0
  480. package/lib/plus/noteModal/types.js +17 -0
  481. package/lib/pro/comprehensiveSearch/camera.svg +4 -0
  482. package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
  483. package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.js +56 -0
  484. package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
  485. package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +70 -0
  486. package/lib/pro/comprehensiveSearch/index.d.ts +9 -0
  487. package/lib/pro/comprehensiveSearch/index.js +259 -0
  488. package/lib/pro/comprehensiveSearch/index.less +323 -0
  489. package/lib/pro/comprehensiveSearch/locales.d.ts +18 -0
  490. package/lib/pro/comprehensiveSearch/locales.js +41 -0
  491. package/lib/pro/comprehensiveSearch/types.d.ts +31 -0
  492. package/lib/pro/comprehensiveSearch/types.js +17 -0
  493. package/lib/pro/numberKeyboard/index.d.ts +28 -0
  494. package/lib/pro/numberKeyboard/index.js +182 -0
  495. package/lib/pro/numberKeyboard/index.less +25 -0
  496. package/lib/pro/numberKeyboard/locales.d.ts +12 -0
  497. package/lib/pro/numberKeyboard/locales.js +35 -0
  498. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  499. package/lib/pro/pisellNumberSelector/example.js +93 -0
  500. package/lib/pro/pisellNumberSelector/index.d.ts +26 -0
  501. package/lib/pro/pisellNumberSelector/index.js +260 -0
  502. package/lib/pro/pisellNumberSelector/index.less +193 -0
  503. package/lib/pro/pisellPhoneKeyboard/index.d.ts +12 -0
  504. package/lib/pro/pisellPhoneKeyboard/index.js +220 -0
  505. package/lib/pro/pisellPhoneKeyboard/index.less +157 -0
  506. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +12 -0
  507. package/lib/pro/pisellPhoneKeyboard/locales.js +35 -0
  508. package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +5 -0
  509. package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.js +158 -0
  510. package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.less +13 -0
  511. package/lib/pro/pisellPriceKeyboardModal/index.d.ts +2 -0
  512. package/lib/pro/pisellPriceKeyboardModal/index.js +35 -0
  513. package/lib/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
  514. package/lib/pro/pisellPriceKeyboardModal/types.js +17 -0
  515. package/lib/pro/pisellPriceRadio/index.d.ts +26 -0
  516. package/lib/pro/pisellPriceRadio/index.js +130 -0
  517. package/lib/pro/pisellPriceRadio/index.less +158 -0
  518. package/lib/pro/skuDetailModal/index.d.ts +5 -0
  519. package/lib/pro/skuDetailModal/index.js +311 -0
  520. package/lib/pro/skuDetailModal/index.less +236 -0
  521. package/lib/pro/skuDetailModal/locales.d.ts +48 -0
  522. package/lib/pro/skuDetailModal/locales.js +71 -0
  523. package/lib/pro/skuDetailModal/types.d.ts +347 -0
  524. package/lib/pro/skuDetailModal/types.js +17 -0
  525. package/lowcode/client-card/fragments/cardStyle.ts +63 -0
  526. package/lowcode/client-card/fragments/nameStyle.ts +34 -0
  527. package/lowcode/client-card/fragments/pisellAvatar.ts +87 -0
  528. package/lowcode/client-card/fragments/tagConfig.ts +88 -0
  529. package/lowcode/client-card/meta.ts +337 -0
  530. package/lowcode/comprehensive-search/meta.ts +261 -0
  531. package/package.json +26 -26
@@ -0,0 +1,50 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/components/booking/info2/cartClientCard/locales.ts
20
+ var locales_exports = {};
21
+ __export(locales_exports, {
22
+ default: () => locales_default
23
+ });
24
+ module.exports = __toCommonJS(locales_exports);
25
+ var locales_default = {
26
+ en: {
27
+ "pisell2.text.switch-account": "Switch Account",
28
+ "pisell2.text.cancel": "Cancel",
29
+ "pisell2.text.cart-client-card": (name) => {
30
+ return name ? `Switching to ${name}'s Account?` : "Switching Account?";
31
+ },
32
+ "pisell2.text.add-client-success": "Add Client Success"
33
+ },
34
+ "zh-CN": {
35
+ "pisell2.text.switch-account": "切换账户",
36
+ "pisell2.text.cancel": "取消",
37
+ "pisell2.text.cart-client-card": (name) => {
38
+ return name ? `切换至${name}的账户?` : "切换账户?";
39
+ },
40
+ "pisell2.text.add-client-success": "添加客户成功"
41
+ },
42
+ "zh-HK": {
43
+ "pisell2.text.switch-account": "切換賬戶",
44
+ "pisell2.text.cancel": "取消",
45
+ "pisell2.text.cart-client-card": (name) => {
46
+ return name ? `切換至${name}的賬戶?` : "切換賬戶?";
47
+ },
48
+ "pisell2.text.add-client-success": "添加客戶成功"
49
+ }
50
+ };
@@ -0,0 +1,13 @@
1
+ import type { ClientData as ClientCardData } from '../../../../plus/clientCard/types';
2
+ import type { ClientData as ClientSearchData } from '../../../../plus/clinetSearch/types';
3
+ export interface ClientData extends ClientCardData {
4
+ latest_wallet_detail?: any;
5
+ }
6
+ export interface CartClientCardState {
7
+ clientData?: ClientData;
8
+ searchModalVisible: boolean;
9
+ }
10
+ export declare type ClientDataConverter = (searchData: ClientSearchData) => ClientData;
11
+ export declare type ClientCardRef = {
12
+ handleSetClient: (record: ClientData) => void;
13
+ };
@@ -0,0 +1,17 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+
15
+ // src/components/booking/info2/cartClientCard/types.ts
16
+ var types_exports = {};
17
+ module.exports = __toCommonJS(types_exports);
@@ -0,0 +1,3 @@
1
+ import { ClientData } from "./types";
2
+ export declare const setHandleSetClient: (fn: ((customer: ClientData | null) => void) | null) => void;
3
+ export declare const getHandleSetClient: () => ((customer: ClientData | null) => void) | null;
@@ -0,0 +1,37 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/components/booking/info2/cartClientCard/utils.ts
20
+ var utils_exports = {};
21
+ __export(utils_exports, {
22
+ getHandleSetClient: () => getHandleSetClient,
23
+ setHandleSetClient: () => setHandleSetClient
24
+ });
25
+ module.exports = __toCommonJS(utils_exports);
26
+ var handleSetClient = null;
27
+ var setHandleSetClient = (fn) => {
28
+ handleSetClient = fn;
29
+ };
30
+ var getHandleSetClient = () => {
31
+ return handleSetClient;
32
+ };
33
+ // Annotate the CommonJS export names for ESM import in node:
34
+ 0 && (module.exports = {
35
+ getHandleSetClient,
36
+ setHandleSetClient
37
+ });
@@ -40,7 +40,6 @@ var import_pet = __toESM(require("../info/pet"));
40
40
  var import_date = __toESM(require("../info/date"));
41
41
  var import_footer = __toESM(require("../components/footer"));
42
42
  var import_tabPane = __toESM(require("../components/tabPane"));
43
- var import_addNote = __toESM(require("../notes/addNote"));
44
43
  var import_header = __toESM(require("../info/header"));
45
44
  var import_locales = __toESM(require("../locales"));
46
45
  var import_utils = require("@pisell/utils");
@@ -59,6 +58,8 @@ var import_classnames = __toESM(require("classnames"));
59
58
  var import_useCreateBookingPageHeader = __toESM(require("../hooks/useCreateBookingPageHeader"));
60
59
  var import_locales2 = require("../../../utils/locales");
61
60
  var import_ahooks = require("ahooks");
61
+ var import_cartClientCard = __toESM(require("./cartClientCard"));
62
+ var import_materials = require("@pisell/materials");
62
63
  var defaultModules = {
63
64
  client: 1,
64
65
  date: 1,
@@ -130,11 +131,13 @@ var Info = (0, import_model.Provider)((props) => {
130
131
  globalState == null ? void 0 : globalState.renderType
131
132
  ]);
132
133
  const notes = (0, import_react.useMemo)(() => {
133
- var _a2, _b2;
134
134
  if (!modules.note) {
135
135
  return null;
136
136
  }
137
- return (globalState == null ? void 0 : globalState.bookingId) ? globalState.renderType === "eventBooking" ? /* @__PURE__ */ import_react.default.createElement(import_notes.default, null) : null : /* @__PURE__ */ import_react.default.createElement(import_addNote.default, { value: (_b2 = (_a2 = modal.state) == null ? void 0 : _a2.notes) == null ? void 0 : _b2.orderNote, onChange: addNote });
137
+ return (globalState == null ? void 0 : globalState.bookingId) ? globalState.renderType === "eventBooking" ? /* @__PURE__ */ import_react.default.createElement(import_notes.default, null) : null : (
138
+ // <AddNote value={modal.state?.notes?.orderNote} onChange={addNote} />
139
+ null
140
+ );
138
141
  }, [
139
142
  modules.note,
140
143
  globalState == null ? void 0 : globalState.bookingId,
@@ -258,7 +261,9 @@ var Info = (0, import_model.Provider)((props) => {
258
261
  ), !!modal.state.setGlobalState ? /* @__PURE__ */ import_react.default.createElement(
259
262
  import_tabPane.default,
260
263
  {
261
- style,
264
+ style: {
265
+ height: ((_k = (_j = context == null ? void 0 : context.appHelper) == null ? void 0 : _j.utils) == null ? void 0 : _k.isMobile) ? "100%" : "100vh"
266
+ },
262
267
  header,
263
268
  footer: /* @__PURE__ */ import_react.default.createElement(
264
269
  import_footer.default,
@@ -268,15 +273,31 @@ var Info = (0, import_model.Provider)((props) => {
268
273
  source: "info"
269
274
  }
270
275
  ),
271
- style: {
272
- height: ((_k = (_j = context == null ? void 0 : context.appHelper) == null ? void 0 : _j.utils) == null ? void 0 : _k.isMobile) ? "100%" : "100vh"
273
- },
274
276
  bodyClassName: (0, import_classnames.default)("booking-info-warp", {
275
277
  ["create-booking-page-info-wrap"]: isBookingCreatePage,
276
278
  ["create-booking-page-info-wrap-create"]: isBookingCreatePageCreateMode
277
- })
279
+ }),
280
+ state: modal.state,
281
+ dispatch: modal.dispatch,
282
+ source: "info"
278
283
  },
279
- /* @__PURE__ */ import_react.default.createElement("div", { className: "booking-info" }, createHeader, modules.client ? /* @__PURE__ */ import_react.default.createElement(import_client.default, null) : null, modules.holder && !((_l = modal.state) == null ? void 0 : _l.disabledEdit) ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, params.type === "form" ? /* @__PURE__ */ import_react.default.createElement(import_pet.default, null) : null) : null, modules.date ? /* @__PURE__ */ import_react.default.createElement(import_date.default, null) : null, /* @__PURE__ */ import_react.default.createElement(
284
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "booking-info" }, createHeader, /* @__PURE__ */ import_react.default.createElement("div", { className: "booking-info-client-line" }, modules.client ? (globalState == null ? void 0 : globalState.isBookingTicket2) ? /* @__PURE__ */ import_react.default.createElement("div", { style: { flex: 1, overflow: "hidden" } }, /* @__PURE__ */ import_react.default.createElement(import_cartClientCard.default, null)) : /* @__PURE__ */ import_react.default.createElement(import_client.default, null) : null, (globalState == null ? void 0 : globalState.isBookingTicket2) ? /* @__PURE__ */ import_react.default.createElement(
285
+ "div",
286
+ {
287
+ className: "booking-info-client-line-code",
288
+ onClick: () => {
289
+ var _a2;
290
+ (_a2 = globalState == null ? void 0 : globalState.onQrCodeClick) == null ? void 0 : _a2.call(globalState);
291
+ }
292
+ },
293
+ /* @__PURE__ */ import_react.default.createElement(
294
+ import_materials.Iconfont,
295
+ {
296
+ type: "pisell2-a-qr-code-02",
297
+ style: { color: "#fff", fontSize: 42 }
298
+ }
299
+ )
300
+ ) : null), modules.holder && !((_l = modal.state) == null ? void 0 : _l.disabledEdit) ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, params.type === "form" ? /* @__PURE__ */ import_react.default.createElement(import_pet.default, null) : null) : null, modules.date ? /* @__PURE__ */ import_react.default.createElement(import_date.default, null) : null, /* @__PURE__ */ import_react.default.createElement(
280
301
  import_antd.Skeleton,
281
302
  {
282
303
  loading: globalState.loading,
@@ -422,6 +422,7 @@ var AddTimeModal = () => {
422
422
  return;
423
423
  }
424
424
  state == null ? void 0 : state.action("init");
425
+ state == null ? void 0 : state.callback({}, "save");
425
426
  };
426
427
  (0, import_react.useEffect)(() => {
427
428
  if (!state.modalOpen) {
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const EditNormalService: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
3
+ export default EditNormalService;
@@ -0,0 +1,100 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/booking/info2/service/editNormalService/index.tsx
30
+ var editNormalService_exports = {};
31
+ __export(editNormalService_exports, {
32
+ default: () => editNormalService_default
33
+ });
34
+ module.exports = __toCommonJS(editNormalService_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_ahooks = require("ahooks");
37
+ var import_skuDetailModal = __toESM(require("../../../../../pro/skuDetailModal"));
38
+ var import_model = require("../../../info/model");
39
+ var EditNormalService = (0, import_react.forwardRef)((props, ref) => {
40
+ const { state, dispatch } = (0, import_react.useContext)(import_model.Context);
41
+ const modalRef = (0, import_react.useRef)(null);
42
+ (0, import_react.useImperativeHandle)(ref, () => ({
43
+ init: (cacheItem) => {
44
+ modalRef.current.open(cacheItem);
45
+ }
46
+ }));
47
+ const handleRemove = (0, import_ahooks.useMemoizedFn)((productData) => {
48
+ var _a, _b;
49
+ const newProducts = (_b = ((_a = state == null ? void 0 : state.service) == null ? void 0 : _a.value) || []) == null ? void 0 : _b.filter((item) => {
50
+ return item._id !== productData._id;
51
+ });
52
+ dispatch({
53
+ type: "setService",
54
+ payload: {
55
+ editModal: false,
56
+ value: newProducts,
57
+ edit: true,
58
+ cacheItem: null
59
+ }
60
+ });
61
+ });
62
+ const handleConfirm = (0, import_ahooks.useMemoizedFn)((data) => {
63
+ var _a, _b;
64
+ const newProducts = (_b = ((_a = state == null ? void 0 : state.service) == null ? void 0 : _a.value) || []) == null ? void 0 : _b.map((item) => {
65
+ if (item._id == data._id) {
66
+ return data;
67
+ }
68
+ return item;
69
+ });
70
+ dispatch({
71
+ type: "setService",
72
+ payload: {
73
+ editModal: false,
74
+ value: newProducts,
75
+ edit: true,
76
+ cacheItem: null
77
+ }
78
+ });
79
+ });
80
+ const handleClose = (0, import_ahooks.useMemoizedFn)(() => {
81
+ dispatch({
82
+ type: "setService",
83
+ payload: {
84
+ editModal: false,
85
+ cacheItem: null,
86
+ changeService: false
87
+ }
88
+ });
89
+ });
90
+ return /* @__PURE__ */ import_react.default.createElement(
91
+ import_skuDetailModal.default,
92
+ {
93
+ onClose: handleClose,
94
+ onConfirm: handleConfirm,
95
+ onRemove: handleRemove,
96
+ ref: modalRef
97
+ }
98
+ );
99
+ });
100
+ var editNormalService_default = EditNormalService;
@@ -429,6 +429,7 @@ var Info = (_, ref) => {
429
429
  return false;
430
430
  }, [state.renderType, isNormalProduct]);
431
431
  const SelectTime = (_o = window.BaseMaterials) == null ? void 0 : _o.SelectTime;
432
+ const isNoSpecAndPackage = (0, import_utilsByBooking.getIsNoSpecAndPackage)(state.service.cacheItem);
432
433
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
433
434
  import_drawer.default,
434
435
  {
@@ -436,7 +437,7 @@ var Info = (_, ref) => {
436
437
  zIndex: state.service.changeService ? 999 : 1e3,
437
438
  forceRender: true,
438
439
  mask: state.drawerMask,
439
- open: state.service.editModal && !((_p = state.service.cacheItem) == null ? void 0 : _p.autoClose),
440
+ open: !isNoSpecAndPackage && state.service.editModal && !((_p = state.service.cacheItem) == null ? void 0 : _p.autoClose),
440
441
  title: import_utils.locales.getText("pisell2.text.edit-service"),
441
442
  onClose: () => {
442
443
  dispatch({
@@ -40,8 +40,8 @@ var import_service = require("../../info/service/index.less");
40
40
  var import_addTimeModal = __toESM(require("./addTimeModal"));
41
41
  var import_useInfoHolder = __toESM(require("../../info/hooks/useInfoHolder"));
42
42
  var import_Lists = __toESM(require("../../info/service/Lists"));
43
- var import_useClearCart = __toESM(require("../../hooks/useClearCart"));
44
43
  var import_useQuotation = __toESM(require("../../hooks/useQuotation"));
44
+ var import_editNormalService = __toESM(require("./editNormalService"));
45
45
  var Service = () => {
46
46
  const { state, dispatch } = (0, import_react.useContext)(import_model.Context);
47
47
  const {
@@ -49,14 +49,14 @@ var Service = () => {
49
49
  handleEdit,
50
50
  handleAction,
51
51
  dispatchService,
52
- showAddTimeModal
52
+ showAddTimeModal,
53
+ editNormalServiceRef
53
54
  } = (0, import_useInfoHolder.default)(state, dispatch);
54
55
  (0, import_react.useEffect)(() => {
55
56
  document.body.id = "body";
56
57
  }, []);
57
- const clearCart = (0, import_useClearCart.default)(state, dispatch);
58
58
  const { dom } = (0, import_useQuotation.default)(state, dispatch);
59
- return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-wrap" }, clearCart, /* @__PURE__ */ import_react.default.createElement(
59
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-wrap" }, /* @__PURE__ */ import_react.default.createElement(
60
60
  import_Lists.default,
61
61
  {
62
62
  isParallelResource: true,
@@ -64,6 +64,6 @@ var Service = () => {
64
64
  onAction: handleAction,
65
65
  onChange: (e, type) => dispatchService(type || "setService", e)
66
66
  }
67
- ), !state.isBookingCreatePage ? /* @__PURE__ */ import_react.default.createElement(import_addService.default, { onEdit: handleEdit }) : null), /* @__PURE__ */ import_react.default.createElement(import_editService.default, { ref: detailRef }), showAddTimeModal && /* @__PURE__ */ import_react.default.createElement(import_addTimeModal.default, null), dom);
67
+ ), !state.isBookingCreatePage ? /* @__PURE__ */ import_react.default.createElement(import_addService.default, { onEdit: handleEdit }) : null), /* @__PURE__ */ import_react.default.createElement(import_editService.default, { ref: detailRef }), showAddTimeModal && /* @__PURE__ */ import_react.default.createElement(import_addTimeModal.default, null), /* @__PURE__ */ import_react.default.createElement(import_editNormalService.default, { ref: editNormalServiceRef }), dom);
68
68
  };
69
69
  var service_default = import_react.default.memo(Service);
@@ -158,7 +158,7 @@ var ServiceItem = ({
158
158
  },
159
159
  /* @__PURE__ */ import_react.default.createElement(import_antd.Button, { type: "text", icon: /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-trash-01" }) })
160
160
  ),
161
- d.id ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-item-title" }, d.title) : null,
161
+ d.id || d.isCustomItem ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-item-title" }, d.title) : null,
162
162
  d._extend && state.renderType !== "eventBooking" ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-item-date" }, (0, import_utils.getServiceTime)(d, state.date.value)), renderResources) : null,
163
163
  (((_d = (_c = d._extend) == null ? void 0 : _c.other) == null ? void 0 : _d.bundle) || []).length ? /* @__PURE__ */ import_react.default.createElement(
164
164
  import_collapsibleList.default,
@@ -168,7 +168,7 @@ var ServiceItem = ({
168
168
  renderItem: (item) => (0, import_utils3.renderBundles)(item, state.amountSymbol)
169
169
  }
170
170
  ) : null,
171
- d.id ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-item-price-wrap" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-service-item-price" }, (0, import_utils2.formatAmount)((_g = d._extend) == null ? void 0 : _g.total, 2, state.amountSymbol)), isDiscount ? /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-service-item-original-price" }, (0, import_utils2.formatAmount)(d._extend.origin_total, 2, state.amountSymbol)) : null)) : null,
171
+ d.id || d.isCustomItem ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-item-price-wrap" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-service-item-price" }, (0, import_utils2.formatAmount)((_g = d._extend) == null ? void 0 : _g.total, 2, state.amountSymbol)), isDiscount ? /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode__booking-service-item-original-price" }, (0, import_utils2.formatAmount)(d._extend.origin_total, 2, state.amountSymbol)) : null)) : null,
172
172
  isDiscount && ((_h = d._extend) == null ? void 0 : _h.discount_reason) ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-item-discount-reason" }, /* @__PURE__ */ import_react.default.createElement("span", null, import_utils2.locales.getText("pisell2.text.discount-reason"), ":"), " ", (_i = d._extend) == null ? void 0 : _i.discount_reason) : null,
173
173
  renderUser,
174
174
  ((_j = d._extend.relation_details) == null ? void 0 : _j.length) ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-item-relation-details" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__booking-service-item-title" }, import_utils2.locales.getText("page.booking.text.sales")), d._extend.relation_details.map((item, index) => {
@@ -33,3 +33,4 @@ export declare const getAppointmentTimingPreference: (state: any) => any;
33
33
  * @Date: 2024-01-26 14:09
34
34
  */
35
35
  export declare const getServiceStartTimeAndEndTime: (state: any, cacheItem: any, timeObj: any) => any;
36
+ export declare const getIsNoSpecAndPackage: (product: any) => boolean;
@@ -33,6 +33,7 @@ __export(utilsByBooking_exports, {
33
33
  formatTimes: () => formatTimes,
34
34
  getAppointmentTimingPreference: () => getAppointmentTimingPreference,
35
35
  getErrorList: () => getErrorList,
36
+ getIsNoSpecAndPackage: () => getIsNoSpecAndPackage,
36
37
  getResourceTimeIsUsable: () => getResourceTimeIsUsable,
37
38
  getServiceStartTimeAndEndTime: () => getServiceStartTimeAndEndTime,
38
39
  getSumCapacity: () => getSumCapacity
@@ -41,6 +42,7 @@ module.exports = __toCommonJS(utilsByBooking_exports);
41
42
  var import_dayjs = __toESM(require("dayjs"));
42
43
  var import_utils = require("@pisell/utils");
43
44
  var import_utils2 = require("../utils");
45
+ var import_utils3 = require("../info/service2/utils");
44
46
  var getUseableEventCount = (eventList, current) => {
45
47
  return (eventList || []).reduce((pre, event) => {
46
48
  return pre - event.pax;
@@ -208,15 +210,21 @@ var getAppointmentTimingPreference = (state) => {
208
210
  return ((_c = (_b = (_a = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a.config) == null ? void 0 : _b.information_tab) == null ? void 0 : _c.appointment_timing_preference) || "sequential";
209
211
  };
210
212
  var getServiceStartTimeAndEndTime = (state, cacheItem, timeObj) => {
211
- var _a, _b, _c;
213
+ var _a, _b, _c, _d;
214
+ if (cacheItem == null ? void 0 : cacheItem.isCustomItem) {
215
+ return {
216
+ duration: null
217
+ // 自定义商品没有时长概念
218
+ };
219
+ }
212
220
  const appointmentTimingPreference = getAppointmentTimingPreference(state);
213
- let lastServer = (0, import_utils2.getLastServer)(state.service.value);
221
+ let lastServer = (0, import_utils2.getLastServer)((_a = state.service.value) == null ? void 0 : _a.filter((item) => !item.isCustomItem));
214
222
  let _extend = {
215
223
  // 时长: 当前商品时长 > 第一个时长
216
224
  duration: (0, import_utils2.findNextDuration)(
217
225
  cacheItem.duration,
218
226
  timeObj.durationSlicesBasedOnTime,
219
- (_a = cacheItem == null ? void 0 : cacheItem.duration) == null ? void 0 : _a.value
227
+ (_b = cacheItem == null ? void 0 : cacheItem.duration) == null ? void 0 : _b.value
220
228
  )
221
229
  };
222
230
  if (lastServer) {
@@ -259,7 +267,7 @@ var getServiceStartTimeAndEndTime = (state, cacheItem, timeObj) => {
259
267
  const { startDate, endDate } = (0, import_utils2.getServiceTimes)({ _extend });
260
268
  _extend.startDate = startDate;
261
269
  _extend.endDate = endDate;
262
- const session = (_c = (_b = cacheItem == null ? void 0 : cacheItem._extend) == null ? void 0 : _b.other) == null ? void 0 : _c.session;
270
+ const session = (_d = (_c = cacheItem == null ? void 0 : cacheItem._extend) == null ? void 0 : _c.other) == null ? void 0 : _d.session;
263
271
  if ((0, import_utils2.isSessionProduct)(cacheItem) && session) {
264
272
  _extend.start_date = session.start_at;
265
273
  _extend.startDate = session.start_at;
@@ -270,12 +278,23 @@ var getServiceStartTimeAndEndTime = (state, cacheItem, timeObj) => {
270
278
  }
271
279
  return _extend;
272
280
  };
281
+ var getIsNoSpecAndPackage = (product) => {
282
+ var _a, _b, _c, _d;
283
+ if (!(0, import_utils3.isNormalProductByDurationSchedule)(product)) {
284
+ return false;
285
+ }
286
+ if (product == null ? void 0 : product.isEditBooking) {
287
+ return ((_a = product == null ? void 0 : product.product_bundle) == null ? void 0 : _a.length) === 0 && (product == null ? void 0 : product.product_variant_id) === 0 && (((_c = (_b = product == null ? void 0 : product.product_sku) == null ? void 0 : _b.option) == null ? void 0 : _c.length) || 0) === 0;
288
+ }
289
+ return (product == null ? void 0 : product.is_bundle) === 0 && (((_d = product == null ? void 0 : product.variant) == null ? void 0 : _d.length) || 0) === 0 && ((product == null ? void 0 : product.option_group_count) || 0) === 0;
290
+ };
273
291
  // Annotate the CommonJS export names for ESM import in node:
274
292
  0 && (module.exports = {
275
293
  formatResource,
276
294
  formatTimes,
277
295
  getAppointmentTimingPreference,
278
296
  getErrorList,
297
+ getIsNoSpecAndPackage,
279
298
  getResourceTimeIsUsable,
280
299
  getServiceStartTimeAndEndTime,
281
300
  getSumCapacity
@@ -223,6 +223,7 @@ declare const _default: {
223
223
  'pisell2.booking.dashboard.departed-visitors': string;
224
224
  'pisell2.booking.dashboard.departed-visitors-tip': string;
225
225
  'pisell2.booking.dashboard.default': string;
226
+ 'pisell2.booking.info.text.clear': string;
226
227
  'pisell2.booking.info.text.clear-cart': string;
227
228
  'pisell2.booking.info.text.clear-all': string;
228
229
  'pisell2.booking.info.text.create-new': string;
@@ -240,6 +241,29 @@ declare const _default: {
240
241
  'pisell2.text.missing.reservation.content': string;
241
242
  'pisell2.text.confirm': string;
242
243
  'pisell2.text.cancel': string;
244
+ 'pisell2.action-buttons.clear': string;
245
+ 'pisell2.action-buttons.manuel-order': string;
246
+ 'pisell2.action-buttons.customise-item': string;
247
+ 'pisell2.action-buttons.no-items-to-adjust': string;
248
+ 'pisell2.action-buttons.adjust-order-price': string;
249
+ 'pisell2.action-buttons.price-adjusted-success': string;
250
+ 'pisell2.action-buttons.clear-success': string;
251
+ 'pisell2.text.manual-price-adjustment': string;
252
+ 'pisell2.customise-item.modal-title': string;
253
+ 'pisell2.customise-item.product-name': string;
254
+ 'pisell2.customise-item.default-product-name': string;
255
+ 'pisell2.customise-item.vouchers-applicable': string;
256
+ 'pisell2.customise-item.sell-price': string;
257
+ 'pisell2.customise-item.manual-deduction-price': string;
258
+ 'pisell2.customise-item.amount-placeholder': string;
259
+ 'pisell2.customise-item.save': string;
260
+ 'pisell2.customise-item.save-success': string;
261
+ 'pisell2.customise-item.price-required-error': (priceType: string) => string;
262
+ 'pisell2.subtotal.total': string;
263
+ 'pisell2.clear-cart-modal.title': string;
264
+ 'pisell2.clear-cart-modal.clear-items-only': string;
265
+ 'pisell2.clear-cart-modal.clear-all-reset': string;
266
+ 'pisell2.clear-cart-modal.empty-cart-tip': string;
243
267
  'pisell2.text.change.pet.title': string;
244
268
  'pisell2.text.change.pet.content': string;
245
269
  'pisell2.text.change.pet.content1': string;
@@ -273,6 +297,7 @@ declare const _default: {
273
297
  'pisell2.text.validity.valid_through': (str: string) => string;
274
298
  'pisell2.text.quotation.product.change.title': string;
275
299
  'pisell2.text.quotation.product.change.describe': string;
300
+ 'pisell2.booking.notes.placeholder': string;
276
301
  };
277
302
  'zh-CN': {
278
303
  'pisell2.text.refunded-amount': string;
@@ -498,6 +523,7 @@ declare const _default: {
498
523
  'pisell2.booking.dashboard.departed-visitors': string;
499
524
  'pisell2.booking.dashboard.departed-visitors-tip': string;
500
525
  'pisell2.booking.dashboard.default': string;
526
+ 'pisell2.booking.info.text.clear': string;
501
527
  'pisell2.booking.info.text.clear-cart': string;
502
528
  'pisell2.booking.info.text.clear-all': string;
503
529
  'pisell2.booking.info.text.create-new': string;
@@ -515,6 +541,29 @@ declare const _default: {
515
541
  'pisell2.text.missing.reservation.content': string;
516
542
  'pisell2.text.confirm': string;
517
543
  'pisell2.text.cancel': string;
544
+ 'pisell2.action-buttons.clear': string;
545
+ 'pisell2.action-buttons.manuel-order': string;
546
+ 'pisell2.action-buttons.customise-item': string;
547
+ 'pisell2.action-buttons.no-items-to-adjust': string;
548
+ 'pisell2.action-buttons.adjust-order-price': string;
549
+ 'pisell2.action-buttons.price-adjusted-success': string;
550
+ 'pisell2.action-buttons.clear-success': string;
551
+ 'pisell2.text.manual-price-adjustment': string;
552
+ 'pisell2.customise-item.modal-title': string;
553
+ 'pisell2.customise-item.product-name': string;
554
+ 'pisell2.customise-item.default-product-name': string;
555
+ 'pisell2.customise-item.vouchers-applicable': string;
556
+ 'pisell2.customise-item.sell-price': string;
557
+ 'pisell2.customise-item.manual-deduction-price': string;
558
+ 'pisell2.customise-item.amount-placeholder': string;
559
+ 'pisell2.customise-item.save': string;
560
+ 'pisell2.customise-item.save-success': string;
561
+ 'pisell2.customise-item.price-required-error': (priceType: string) => string;
562
+ 'pisell2.subtotal.total': string;
563
+ 'pisell2.clear-cart-modal.title': string;
564
+ 'pisell2.clear-cart-modal.clear-items-only': string;
565
+ 'pisell2.clear-cart-modal.clear-all-reset': string;
566
+ 'pisell2.clear-cart-modal.empty-cart-tip': string;
518
567
  'pisell2.text.change.pet.title': string;
519
568
  'pisell2.text.change.pet.content': string;
520
569
  'pisell2.text.change.pet.content1': string;
@@ -548,6 +597,7 @@ declare const _default: {
548
597
  'pisell2.text.validity.valid_through': (str: string) => string;
549
598
  'pisell2.text.quotation.product.change.title': string;
550
599
  'pisell2.text.quotation.product.change.describe': string;
600
+ 'pisell2.booking.notes.placeholder': string;
551
601
  };
552
602
  'zh-HK': {
553
603
  'pisell2.text.refunded-amount': string;
@@ -773,6 +823,7 @@ declare const _default: {
773
823
  'pisell2.booking.dashboard.departed-visitors': string;
774
824
  'pisell2.booking.dashboard.departed-visitors-tip': string;
775
825
  'pisell2.booking.dashboard.default': string;
826
+ 'pisell2.booking.info.text.clear': string;
776
827
  'pisell2.booking.info.text.clear-cart': string;
777
828
  'pisell2.booking.info.text.clear-all': string;
778
829
  'pisell2.booking.info.text.create-new': string;
@@ -790,6 +841,29 @@ declare const _default: {
790
841
  'pisell2.text.missing.reservation.content': string;
791
842
  'pisell2.text.confirm': string;
792
843
  'pisell2.text.cancel': string;
844
+ 'pisell2.action-buttons.clear': string;
845
+ 'pisell2.action-buttons.manuel-order': string;
846
+ 'pisell2.action-buttons.customise-item': string;
847
+ 'pisell2.action-buttons.no-items-to-adjust': string;
848
+ 'pisell2.action-buttons.adjust-order-price': string;
849
+ 'pisell2.action-buttons.price-adjusted-success': string;
850
+ 'pisell2.action-buttons.clear-success': string;
851
+ 'pisell2.text.manual-price-adjustment': string;
852
+ 'pisell2.customise-item.modal-title': string;
853
+ 'pisell2.customise-item.product-name': string;
854
+ 'pisell2.customise-item.default-product-name': string;
855
+ 'pisell2.customise-item.vouchers-applicable': string;
856
+ 'pisell2.customise-item.sell-price': string;
857
+ 'pisell2.customise-item.manual-deduction-price': string;
858
+ 'pisell2.customise-item.amount-placeholder': string;
859
+ 'pisell2.customise-item.save': string;
860
+ 'pisell2.customise-item.save-success': string;
861
+ 'pisell2.customise-item.price-required-error': (priceType: string) => string;
862
+ 'pisell2.subtotal.total': string;
863
+ 'pisell2.clear-cart-modal.title': string;
864
+ 'pisell2.clear-cart-modal.clear-items-only': string;
865
+ 'pisell2.clear-cart-modal.clear-all-reset': string;
866
+ 'pisell2.clear-cart-modal.empty-cart-tip': string;
793
867
  'pisell2.text.change.pet.title': string;
794
868
  'pisell2.text.change.pet.content': string;
795
869
  'pisell2.text.change.pet.content1': string;
@@ -823,6 +897,7 @@ declare const _default: {
823
897
  'pisell2.text.validity.valid_through': (str: string) => string;
824
898
  'pisell2.text.quotation.product.change.title': string;
825
899
  'pisell2.text.quotation.product.change.describe': string;
900
+ 'pisell2.booking.notes.placeholder': string;
826
901
  };
827
902
  };
828
903
  export default _default;